]> git.baikalelectronics.ru Git - kernel.git/commit
usb: sl811-hcd: Convert to module_platform_driver
authorTobias Klauser <tklauser@distanz.ch>
Tue, 28 Feb 2012 11:57:23 +0000 (12:57 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 3 Mar 2012 00:20:29 +0000 (16:20 -0800)
commitfa8badab2d9d4678830627e6f65a09cc5d27a518
tree8e1bb58a8b9aa4df01d3256cf73c0e16846e925a
parent3e6f6d9403fa87588f2060a37c9b94195a83b049
usb: sl811-hcd: Convert to module_platform_driver

Use the module_platform_driver macro, move the usb_disabled() check to
the probe function and get rid of the rather pointless message on module
load.

Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/host/sl811-hcd.c