summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>2021-03-27 10:36:50 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2021-03-28 15:07:18 +0300
commit42067ccd9eb2077979ac3ce8b7b95c694bd09e14 (patch)
treef86ce034fd9c5776c45c986e96e41e5a36a09e3f /include
parentd00be779cc5016a1f4cc414e25fc45a9df40ffaf (diff)
downloadlinux-42067ccd9eb2077979ac3ce8b7b95c694bd09e14.tar.xz
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 <christophe.jaillet@wanadoo.fr> Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com> Link: https://lore.kernel.org/r/b317638464f188159bd8eea44427dd359e480625.1616830026.git.christophe.jaillet@wanadoo.fr Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions