]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commita5a9aa470c5ee768c8608d93387869844dc4a2dd
treec9dce3d7fb4fc26eecc87540b571d54051aaa7e4
parent1fbf17216603172767eac8a7e77c7e6e989faba5
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