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