aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c
diff options
context:
space:
mode:
authorMiquel Raynal <[email protected]>2018-07-25 15:31:44 +0200
committerMiquel Raynal <[email protected]>2018-07-31 09:46:10 +0200
commitf57bbfb9e3f47b6d4eecb1d8037dab1cda9996a4 (patch)
tree65d0ca20e2b5525f1a3d86d4fe44f75effb5ffe6 /drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c
parent66a38478dcc5b5a35e49055f2eb301f8ac594e3f (diff)
mtd: rawnand: jz4740: fix probe function error path
An error after nand_scan_tail() should trigger a nand_cleanup(), not a nand_release() as mtd_device_register() (or one of its variants) has not been called and there is no need to deregister any MTD device yet. Signed-off-by: Miquel Raynal <[email protected]> Reviewed-by: Boris Brezillon <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c')
0 files changed, 0 insertions, 0 deletions