From: Huang Shijie Date: Mon, 24 Feb 2014 10:37:40 +0000 (+0800) Subject: mtd: spi-nor: add a helper to find the spi_device_id X-Git-Tag: omap-for-v3.16/fixes-against-rc1~57^2~43^2~23 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0d8c11c01274bde227d368daa8954911dd324a9f;p=pandora-kernel.git mtd: spi-nor: add a helper to find the spi_device_id Add the spi_nor_match_id() to find the proper spi_device_id with the NOR flash's name in the spi_nor_ids table. Signed-off-by: Huang Shijie Acked-by: Marek Vasut Signed-off-by: Brian Norris --- Reading git-diff-tree failed