usb: isp1362-hcd: Convert to module_platform_driver
authorTobias Klauser <tklauser@distanz.ch>
Fri, 17 Feb 2012 15:30:04 +0000 (16:30 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 24 Feb 2012 21:12:16 +0000 (13:12 -0800)
commitaefd49206814413b5ade2f98ff062c4c8d47ec4f
treec9dce3d7fb4fc26eecc87540b571d54051aaa7e4
parent18c75720e667719c923e0547abb60dfcd9c4ee90
usb: isp1362-hcd: Convert to module_platform_driver

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>
Acked-by: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/host/isp1362-hcd.c