diff options
author | Boris Brezillon <boris.brezillon@bootlin.com> | 2018-10-19 10:49:00 +0300 |
---|---|---|
committer | Boris Brezillon <boris.brezillon@bootlin.com> | 2018-11-06 00:24:05 +0300 |
commit | 1e4f42084910067b2d37002afb6d1d1413552e1c (patch) | |
tree | 8f8582ddc239b6b4a4705fe729aeaffecc6b24d3 /LICENSES | |
parent | 51b436a2420e32258f78f0d7a53c8ad1c8569d3b (diff) | |
download | linux-1e4f42084910067b2d37002afb6d1d1413552e1c.tar.xz |
mtd: maps: physmap: Check mtd_device_{parse_register, unregister}() ret code
mtd_device_parse_register() and mtd_device_unregister() can fail,
check their return code and propagate the error to the upper layer
if needed.
Signed-off-by: Boris Brezillon <boris.brezillon@bootlin.com>
Reviewed-by: Ricardo Ribalda Delgado <ricardo.ribalda@gmail.com>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'LICENSES')
0 files changed, 0 insertions, 0 deletions