diff options
author | Boris Brezillon <boris.brezillon@bootlin.com> | 2018-11-11 08:55:11 +0100 |
---|---|---|
committer | Miquel Raynal <miquel.raynal@bootlin.com> | 2018-12-07 10:38:24 +0100 |
commit | 8bbc3c0850d0668ac7cf0f5b129ffae8c810247f (patch) | |
tree | d12e07b584da859043d15b24d382467469cd0468 /scripts/clang-version.sh | |
parent | d54445d664a1324785f40f6fd4240b7a024f4b19 (diff) |
mtd: rawnand: ams-delta: cleanup ams_delta_init() error path
Remove unused labels, rename out_mtd into err_unmap to make it clearer
and return 0 instead of using a goto out at the end of the registration
procedure.
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 'scripts/clang-version.sh')
0 files changed, 0 insertions, 0 deletions