diff options
author | Jarkko Nikula <jarkko.nikula@bitmer.com> | 2012-05-13 21:10:43 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-05-14 08:49:50 -0700 |
commit | 0686a1fab07ecd1ec42e7bc6b0dd2f567378da30 (patch) | |
tree | 12c8afb730f316d454ba9132beeed43a9e12f9a8 /drivers/usb/renesas_usbhs/mod_gadget.c | |
parent | fee8bc1c8ebec694650795b7c5b2fc98ead291db (diff) |
USB: ohci-omap: Use usb_put_transceiver instead of put_device
Currently usb_put_transceiver calls put_device so this is a no-op but it
is better to keep API usage consistent as ohci->transceiver is allocated
with usb_get_transceiver.
While at there remove one extra ohci->transceiver test as the code block
has already tested it.
Signed-off-by: Jarkko Nikula <jarkko.nikula@bitmer.com>
Acked-by: Felipe Balbi <balbi@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/renesas_usbhs/mod_gadget.c')
0 files changed, 0 insertions, 0 deletions