diff options
| author | Ben Hutchings <ben@decadent.org.uk> | 2014-09-29 11:47:54 +0200 |
|---|---|---|
| committer | Luis Henriques <luis.henriques@canonical.com> | 2014-11-13 11:48:33 +0000 |
| commit | 5a8f0310628bc7b409f849a4a8e886ef358986de (patch) | |
| tree | 56acb806807923557a282408641000612fd45e99 /include/linux/module.h | |
| parent | 7692c02ebcc65170114eda2676c41a6ae8a1a4c3 (diff) | |
mtd: spi-nor: make spi_nor_scan() take a chip type name, not spi_device_id
commit 70f3ce0510afdad7cbaf27ab7ab961377205c782 upstream.
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>
Signed-off-by: Luis Henriques <luis.henriques@canonical.com>
Diffstat (limited to 'include/linux/module.h')
0 files changed, 0 insertions, 0 deletions
