diff options
author | Jarkko Nikula <jarkko.nikula@bitmer.com> | 2012-05-13 21:10:20 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-05-14 08:49:50 -0700 |
commit | fee8bc1c8ebec694650795b7c5b2fc98ead291db (patch) | |
tree | 2bfed6358474c7ca8e77b3ae80943ac06c353ca5 /drivers/gpio/gpio-nomadik.c | |
parent | bebc56d58dc780539777d2b1ca80df5566e2ad87 (diff) | |
download | linux-fee8bc1c8ebec694650795b7c5b2fc98ead291db.tar.bz2 |
USB: ehci-fsl: 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 ehci->transceiver is allocated
with usb_get_transceiver.
While at there remove one extra ehci->transceiver test as the code block
has already tested it.
Signed-off-by: Jarkko Nikula <jarkko.nikula@bitmer.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/gpio/gpio-nomadik.c')
0 files changed, 0 insertions, 0 deletions