summaryrefslogtreecommitdiffstats
path: root/include/linux/mtd
diff options
context:
space:
mode:
authorBoris Brezillon2018-11-11 08:55:12 +0100
committerMiquel Raynal2018-12-07 10:38:25 +0100
commit876ba603c9e0fa7885f89a35ed221792caea8034 (patch)
treed42f800cdd7d724555cbb3b8b1c5fdab88841fbf /include/linux/mtd
parentmtd: rawnand: ams-delta: cleanup ams_delta_init() error path (diff)
downloadkernel-qcow2-linux-876ba603c9e0fa7885f89a35ed221792caea8034.tar.gz
kernel-qcow2-linux-876ba603c9e0fa7885f89a35ed221792caea8034.tar.xz
kernel-qcow2-linux-876ba603c9e0fa7885f89a35ed221792caea8034.zip
mtd: rawnand: ams-delta: Check mtd_device_register() return code
mtd_device_register() can fail, and when it does we should propagate the error and cleanup what has been done before. Signed-off-by: Boris Brezillon <boris.brezillon@bootlin.com> Tested-by: Janusz Krzysztofik <jmkrzyszt@gmail.com> Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Diffstat (limited to 'include/linux/mtd')
0 files changed, 0 insertions, 0 deletions