diff options
author | Ilya Yanok <yanok@emcraft.com> | 2011-12-13 00:37:56 +0100 |
---|---|---|
committer | David Woodhouse <David.Woodhouse@intel.com> | 2011-12-19 12:13:52 +0100 |
commit | c32987918efaa6949c5b2f3e43b654a742b18f7d (patch) | |
tree | 2fa86d77c4ca042fbe079416d0d6f8a4f587e344 /drivers/usb/host/ehci-sched.c | |
parent | mtd: pxa2xx-flash.c: It used to fall back to provided table. (diff) | |
download | linux-c32987918efaa6949c5b2f3e43b654a742b18f7d.tar.xz linux-c32987918efaa6949c5b2f3e43b654a742b18f7d.zip |
mtd: plat_ram: call mtd_device_register only if partition data exists
mtd_device_parse_register() registers the device as a whole if no
partition data is passed so there is no reason to call
mtd_device_register() after that.
Signed-off-by: Ilya Yanok <yanok@emcraft.com>
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Diffstat (limited to 'drivers/usb/host/ehci-sched.c')
0 files changed, 0 insertions, 0 deletions