From: Rafał Miłecki Date: Sun, 28 Sep 2014 20:36:54 +0000 (+0200) Subject: mtd: move support for struct flash_platform_data into m25p80 X-Git-Tag: omap-for-v3.19/prcm-cleanup~51^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=32f1b7c8352fd33d41bcec3cfb054ccdcfd40a42;p=pandora-kernel.git mtd: move support for struct flash_platform_data into m25p80 This "type" seems to be an extra hint for m25p80 about the flash. Some archs register flash_platform_data with "name" set to "m25p80" and then with a real flash name set in "type". It seems to be a trick specific to the m25p80 so let's move it out of spi-nor. Btw switch to the spi_nor_match_id instead of iterating spi_nor_ids. Signed-off-by: Rafał Miłecki Signed-off-by: Brian Norris --- Reading git-diff-tree failed