]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
usb: ohci-sa1111: convert shutdown method to native device_driver
authorRussell King <rmk+kernel@armlinux.org.uk>
Tue, 26 Sep 2017 10:12:39 +0000 (11:12 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 4 Oct 2017 07:58:42 +0000 (09:58 +0200)
commit6c771d30a1b839402a37435a307496de5a33b212
tree4f9f8ae90646085dc693a71895d65a22f3c22333
parent78655197eb09bb877857cac3db030123ae5d0f52
usb: ohci-sa1111: convert shutdown method to native device_driver

Convert the shutdown method to use the device_driver shutdown function
pointer rather than a private bus-type shutdown.  This is the only user
for SA1111 bus types, so having the support code in the bus doesn't
make any sense.

Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
Acked-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/host/ohci-sa1111.c