]> git.karo-electronics.de Git - karo-tx-linux.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)
commit2e8d3fe4bf680b8263e0c81a8aa46a8d07b0f7be
tree0837268b702753249555dc991638f83cd763cd25
parentb1116dcc63a91ee79a122abea025aab15ea2c8e7
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