mtd: Use get_mtd_device_nm() to find named device in get_sb_mtd()
authorBen Hutchings <bhutchings@solarflare.com>
Fri, 29 Jan 2010 20:57:18 +0000 (20:57 +0000)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Thu, 25 Feb 2010 11:38:35 +0000 (11:38 +0000)
This removes the need to know the number of MTD devices.

Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>

No differences found