diff options
author | Doug Anderson <dianders@chromium.org> | 2013-03-15 07:15:37 +0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-03-19 03:10:12 +0400 |
commit | 3f3b55bf7833d81d00c793d722e2af58d3b12963 (patch) | |
tree | db82d5e00dc53e3de668c22f14f56efd1826a321 /drivers/usb/host/ehci-hub.c | |
parent | 24b90814fb133bb7971aef8ea5e642d9f9bc4b0b (diff) | |
download | linux-3f3b55bf7833d81d00c793d722e2af58d3b12963.tar.xz |
usb: ehci-s5p: Use devm for requesting ehci_vbus_gpio
The ehci_vbus_gpio is requested but never freed. This can cause
problems with deferred probes and would cause problems if
s5p_ehci_remove was ever called. Use devm to fix this.
Signed-off-by: Doug Anderson <dianders@chromium.org>
Acked-by: Jingoo Han <jg1.han@samsung.com>
Tested-by: Vivek Gautam <gautam.vivek@samsung.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/host/ehci-hub.c')
0 files changed, 0 insertions, 0 deletions