diff options
author | Tudor Ambarus <tudor.ambarus@microchip.com> | 2022-04-20 13:34:18 +0300 |
---|---|---|
committer | Pratyush Yadav <p.yadav@ti.com> | 2022-04-27 14:57:35 +0530 |
commit | d0ddd88438d242de0de58b24eb9422e4ba183023 (patch) | |
tree | cb5cd0c4040733d5b25b75ee258f25dcc63f343c /mm/page_vma_mapped.c | |
parent | b1145d6f1e8a6575c88a2e6b7e2d84ebd4f5f4fb (diff) | |
download | lwn-d0ddd88438d242de0de58b24eb9422e4ba183023.tar.gz lwn-d0ddd88438d242de0de58b24eb9422e4ba183023.zip |
mtd: spi-nor: Introduce spi_nor_match_id()
Similar to spi_nor_match_name() extend the search of flash_info through
all the manufacturers, this time doing the match by ID. There's no reason
to limit the search per manufacturer yet, do it globally, search the flash
in all the parts of all manufacturers in a single method.
Signed-off-by: Tudor Ambarus <tudor.ambarus@microchip.com>
Signed-off-by: Pratyush Yadav <p.yadav@ti.com>
Reviewed-by: Pratyush Yadav <p.yadav@ti.com>
Reviewed-by: Michael Walle <michael@walle.cc>
Link: https://lore.kernel.org/r/20220420103427.47867-3-tudor.ambarus@microchip.com
Diffstat (limited to 'mm/page_vma_mapped.c')
0 files changed, 0 insertions, 0 deletions