diff options
author | Miquel Raynal <miquel.raynal@bootlin.com> | 2018-03-21 16:01:44 +0300 |
---|---|---|
committer | Boris Brezillon <boris.brezillon@bootlin.com> | 2018-03-29 10:38:18 +0300 |
commit | 4acc3046ed5c1641874b89fe66ef8707d81ff80e (patch) | |
tree | 1048e51b4f3edfb13b73b35f1e399c3e101c6995 /net/dns_resolver | |
parent | a446c998ff0cd49fa8023f607e9fc15ce45ec576 (diff) | |
download | linux-4acc3046ed5c1641874b89fe66ef8707d81ff80e.tar.xz |
mtd: rawnand: davinci: fix probe function error path
An error after nand_scan_tail() should trigger a nand_cleanup().
The helper mtd_device_register() returns an error code that should
be checked and nand_cleanup() called accordingly.
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Signed-off-by: Boris Brezillon <boris.brezillon@bootlin.com>
Diffstat (limited to 'net/dns_resolver')
0 files changed, 0 insertions, 0 deletions