diff options
author | Ben Hutchings <bhutchings@solarflare.com> | 2010-01-29 21:57:18 +0100 |
---|---|---|
committer | David Woodhouse <David.Woodhouse@intel.com> | 2010-02-25 12:38:35 +0100 |
commit | 677c2aec8cdd5ae33b5fab266941cf6c6dc4d59f (patch) | |
tree | 76f2c82d7f7593773dd6c454bac487c9a97106db /drivers/mtd/devices/pmc551.c | |
parent | mtd: Introduce and use iteration macro for reading the MTD device table (diff) | |
download | linux-677c2aec8cdd5ae33b5fab266941cf6c6dc4d59f.tar.xz linux-677c2aec8cdd5ae33b5fab266941cf6c6dc4d59f.zip |
mtd: Use get_mtd_device_nm() to find named device in get_sb_mtd()
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>
Diffstat (limited to 'drivers/mtd/devices/pmc551.c')
0 files changed, 0 insertions, 0 deletions