mtd: spi-nor: make spi_nor_scan() take a chip type name, not spi_device_id
authorBen Hutchings <ben@decadent.org.uk>
Mon, 29 Sep 2014 09:47:54 +0000 (11:47 +0200)
committerBrian Norris <computersforpeace@gmail.com>
Fri, 17 Oct 2014 16:29:21 +0000 (09:29 -0700)
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>

No differences found