diff options
author | Dmitry Eremin-Solenikov <dbaryshkov@gmail.com> | 2011-06-02 18:00:51 +0400 |
---|---|---|
committer | Artem Bityutskiy <artem.bityutskiy@intel.com> | 2011-09-11 15:02:12 +0300 |
commit | a9106497082c5b9d2b367159573127c2c9ced4b6 (patch) | |
tree | f93f46b0d08d283968265b8ff44629c73657c6f0 /drivers/spi/spi-sh-sci.c | |
parent | a9093f064eb053c1b9fca8b8026577c0b3b9aa8a (diff) | |
download | talos-obmc-linux-a9106497082c5b9d2b367159573127c2c9ced4b6.tar.gz talos-obmc-linux-a9106497082c5b9d2b367159573127c2c9ced4b6.zip |
mtd: ndfc.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.
Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
Signed-off-by: Artem Bityutskiy <dedekind1@gmail.com>
Diffstat (limited to 'drivers/spi/spi-sh-sci.c')
0 files changed, 0 insertions, 0 deletions