[MTD] cmdlinepart: Missing partition info is not an error
authorPeter Korsgaard <jacmet@sunsite.dk>
Thu, 14 Feb 2008 16:00:10 +0000 (17:00 +0100)
committerDavid Woodhouse <dwmw2@infradead.org>
Tue, 22 Apr 2008 18:10:15 +0000 (19:10 +0100)
commitb0d06afb60741c19e103ffd60927f68e17c9d199
tree70b97d26ff3bcf3efc44594c5a21b76b4ded6e9c
parentc3f08b353519ee9c64308837199a9fcf83e863da
[MTD] cmdlinepart: Missing partition info is not an error

Return 0 partitions instead of -EINVAL on no mtdpart= argument in kernel
cmdline or missing partition info for device.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Acked-by: Stefan Roese <sr@denx.de>
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
drivers/mtd/cmdlinepart.c