From: Anton Vorontsov Date: Mon, 12 Oct 2009 16:24:35 +0000 (+0400) Subject: mtd: m25p80: Convert to device table matching X-Git-Tag: v2.6.33-rc1~66^2~23 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b34bc037b26e621e5fc13466767e4da110a7b3d3;p=pandora-kernel.git mtd: m25p80: Convert to device table matching This patch converts the m25p80 driver so that now it uses .id_table for device matching, making it properly detect devices on OpenFirmware platforms (prior to this patch the driver misdetected non-JEDEC chips, seeing all chips as "m25p80"). Also, now jedec_probe() only does jedec probing, nothing else. If it is not able to detect a chip, NULL is returned and the driver fall backs to the information specified by the platform (platform_data, or exact ID). Signed-off-by: Anton Vorontsov Signed-off-by: David Woodhouse --- Reading git-diff-tree failed