From: Ben Hutchings Date: Mon, 29 Sep 2014 09:47:54 +0000 (+0200) Subject: mtd: spi-nor: make spi_nor_scan() take a chip type name, not spi_device_id X-Git-Tag: omap-for-v3.19/fixes-not-urgent-part1~9^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=70f3ce0510afdad7cbaf27ab7ab961377205c782;p=pandora-kernel.git 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 Signed-off-by: Rafał Miłecki Signed-off-by: Brian Norris --- Reading git-diff-tree failed