USB: ehci-fsl: Use usb_put_transceiver instead of put_device
authorJarkko Nikula <jarkko.nikula@bitmer.com>
Sun, 13 May 2012 18:10:20 +0000 (21:10 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 14 May 2012 15:49:50 +0000 (08:49 -0700)
commitfee8bc1c8ebec694650795b7c5b2fc98ead291db
tree2bfed6358474c7ca8e77b3ae80943ac06c353ca5
parentbebc56d58dc780539777d2b1ca80df5566e2ad87
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>
drivers/usb/host/ehci-fsl.c