]> git.baikalelectronics.ru Git - kernel.git/commit
usb: isp116x-hcd: Convert to module_platform_driver
authorTobias Klauser <tklauser@distanz.ch>
Tue, 28 Feb 2012 11:57:21 +0000 (12:57 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 3 Mar 2012 00:20:28 +0000 (16:20 -0800)
commit3ab790c9cfc1bf67344fddb597541835ab2f2be8
tree0837268b702753249555dc991638f83cd763cd25
parent1b065990abecc636d0514111f1e1e7c6a635fbf3
usb: isp116x-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/isp116x-hcd.c