]> git.karo-electronics.de Git - linux-beck.git/commit
mtd: spi-nor: stop (ab)using struct spi_device_id
authorRafał Miłecki <zajec5@gmail.com>
Mon, 10 Aug 2015 19:39:03 +0000 (21:39 +0200)
committerBrian Norris <computersforpeace@gmail.com>
Tue, 25 Aug 2015 20:42:21 +0000 (13:42 -0700)
commit06bb6f5a69dfc53b79dd5f7afabdcd070a18afbf
treebf771939bb284d09e79e99aae1c7d2d1e598b55a
parent0cb850486048ba4f64482a9d3e33dff47df34c79
mtd: spi-nor: stop (ab)using struct spi_device_id

Using struct spi_device_id for storing list of flash devices comes from
early SPI NOR framework days. Thanks to the commit 70f3ce0510af ("mtd:
spi-nor: make spi_nor_scan() take a chip type name, not spi_device_id")
we can stop using spi_device_id and just switch to our own struct.

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
drivers/mtd/spi-nor/spi-nor.c