aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
diff options
context:
space:
mode:
authorChristophe JAILLET <[email protected]>2021-03-27 08:36:50 +0100
committerGreg Kroah-Hartman <[email protected]>2021-03-28 14:07:18 +0200
commit42067ccd9eb2077979ac3ce8b7b95c694bd09e14 (patch)
treef86ce034fd9c5776c45c986e96e41e5a36a09e3f /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
parentd00be779cc5016a1f4cc414e25fc45a9df40ffaf (diff)
usb: gadget: s3c: Fix incorrect resources releasing
Since commit 188db4435ac6 ("usb: gadget: s3c: use platform resources"), 'request_mem_region()' and 'ioremap()' are no more used, so they don't need to be undone in the error handling path of the probe and in the remove function. Remove these calls and the unneeded 'rsrc_start' and 'rsrc_len' global variables. Fixes: 188db4435ac6 ("usb: gadget: s3c: use platform resources") Signed-off-by: Christophe JAILLET <[email protected]> Reviewed-by: Krzysztof Kozlowski <[email protected]> Link: https://lore.kernel.org/r/b317638464f188159bd8eea44427dd359e480625.1616830026.git.christophe.jaillet@wanadoo.fr Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions