mtd: move support for struct flash_platform_data into m25p80
authorRafał Miłecki <zajec5@gmail.com>
Sun, 28 Sep 2014 20:36:54 +0000 (22:36 +0200)
committerBrian Norris <computersforpeace@gmail.com>
Sun, 28 Sep 2014 22:27:03 +0000 (15:27 -0700)
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 <zajec5@gmail.com>
Signed-off-by: Brian Norris <computersforpeace@gmail.com>

No differences found