usb: gadget: use module_pci_driver
authorAxel Lin <axel.lin@gmail.com>
Wed, 4 Apr 2012 14:14:58 +0000 (22:14 +0800)
committerFelipe Balbi <balbi@ti.com>
Fri, 4 May 2012 12:52:50 +0000 (15:52 +0300)
commit3cdb772160c13ae6c162fe729460dc11f8437eec
tree8e2a7cd1da0715199b8236c6f8f3ba876f764a82
parent66f75a5d028beaf67c931435fdc3e7823125730c
usb: gadget: use module_pci_driver

This patch converts the drivers in drivers/usb/gadget/* to use
module_pci_driver() macro which makes the code smaller and a bit simpler.

Signed-off-by: Axel Lin <axel.lin@gmail.com>
Cc: Thomas Dahlmann <dahlmann.thomas@arcor.de>
Cc: Xiaochen Shen <xiaochen.shen@intel.com>
Cc: Pavankumar Kondeti <pkondeti@codeaurora.org>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/gadget/amd5536udc.c
drivers/usb/gadget/ci13xxx_pci.c
drivers/usb/gadget/goku_udc.c
drivers/usb/gadget/langwell_udc.c
drivers/usb/gadget/pch_udc.c