[PATCH 2/2] mtd: spi-nor: make spi_nor_scan() take a chip type name, not spi_device_id

Brian Norris computersforpeace at gmail.com
Fri Oct 17 09:31:09 PDT 2014


On Mon, Sep 29, 2014 at 11:47:54AM +0200, Rafał Miłecki wrote:
> From: Ben Hutchings <ben at decadent.org.uk>
> 
> 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 at decadent.org.uk>
> Signed-off-by: Rafał Miłecki <zajec5 at gmail.com>

Pushed to l2-mtd.git/master.

Brian



More information about the linux-mtd mailing list