commit | d45fd1218897b05dfa977a49f72e6f7bdc3e2471 | [log] [tgz] |
---|---|---|
author | Dmitry Eremin-Solenikov <dbaryshkov@gmail.com> | Thu Jun 02 17:59:58 2011 +0400 |
committer | Artem Bityutskiy <artem.bityutskiy@intel.com> | Sun Sep 11 15:02:07 2011 +0300 |
tree | 253ebd05180f35a27ab2825a023172d35f1f3206 | |
parent | 6e6e44c8bf73cdbd3600f18cb195fc965c0f1b45 [diff] |
mtd: physmap.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: tweaked the patch Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com> Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>