diff options
author | Ben Hutchings <ben@decadent.org.uk> | 2014-09-29 13:47:54 +0400 |
---|---|---|
committer | Brian Norris <computersforpeace@gmail.com> | 2014-10-17 20:29:21 +0400 |
commit | 70f3ce0510afdad7cbaf27ab7ab961377205c782 (patch) | |
tree | 29df1a4e2259f90e0d2a1d35a7c8484688dc6253 /include/uapi | |
parent | 90e55b3812a1245bb674afcc4410ddba7db402f6 (diff) | |
download | linux-70f3ce0510afdad7cbaf27ab7ab961377205c782.tar.xz |
mtd: spi-nor: make spi_nor_scan() take a chip type name, not spi_device_id
Drivers currently call spi_nor_match_id() and then spi_nor_scan().
This adds a dependency on struct spi_device_id which we want to
avoid. Make spi_nor_scan() do it for them.
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
Diffstat (limited to 'include/uapi')
0 files changed, 0 insertions, 0 deletions