usb: chipidea: usbmisc: use module_platform_driver
authorPhilipp Zabel <p.zabel@pengutronix.de>
Thu, 13 Jun 2013 14:59:59 +0000 (17:59 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 17 Jun 2013 20:47:24 +0000 (13:47 -0700)
commit0404ae035149c83fc9a04818aa7da35e482686ea
tree5ea4fe8ef46387b08c37866957cbc8df0d4be356
parentf6a3b3a37c4772b6f0aef8e27c82e7f4287f05e3
usb: chipidea: usbmisc: use module_platform_driver

This patch converts the driver to use the module_platform_driver
macro which makes the code smaller and a bit simpler.

Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
Signed-off-by: Michael Grzeschik <mgr@pengutronix.de>
Signed-off-by: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/chipidea/usbmisc_imx.c