diff options
author | Dmitry Eremin-Solenikov <dbaryshkov@gmail.com> | 2011-06-02 18:00:20 +0400 |
---|---|---|
committer | Artem Bityutskiy <artem.bityutskiy@intel.com> | 2011-09-11 15:02:07 +0300 |
commit | e062e2f52fed5bcf65b3228e991771a4a6030d85 (patch) | |
tree | fe6fd245be4c14b58fdfd2c4852d12363815a228 /drivers/mtd/nand/atmel_nand.c | |
parent | 7029eef8ba6ebf96c18c4b3138c35fcd1342a80a (diff) | |
download | blackbird-obmc-linux-e062e2f52fed5bcf65b3228e991771a4a6030d85.tar.gz blackbird-obmc-linux-e062e2f52fed5bcf65b3228e991771a4a6030d85.zip |
mtd: wr_sbc82xx_flash.c: use mtd_device_parse_register
Replace custom invocations of parse_mtd_partitions and mtd_device_register
with common mtd_device_parse_register call. This would bring: standard
handling of all errors, fallback to default partitions, etc.
Artem: some tweaks, split one very long line while on it.
Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Diffstat (limited to 'drivers/mtd/nand/atmel_nand.c')
0 files changed, 0 insertions, 0 deletions