spi: use module_pci_driver
authorAxel Lin <axel.lin@gmail.com>
Wed, 4 Apr 2012 14:29:32 +0000 (22:29 +0800)
committerGrant Likely <grant.likely@secretlab.ca>
Tue, 10 Apr 2012 20:11:34 +0000 (14:11 -0600)
commit8ebb35fd7ad07ab9a88a35eedd4f89a1e2a8fa55
tree0da22d150c64ef9078fd2f36b32ab73556cf5dd0
parent39f8052d2e0c35533e776ef1235e4cc32cc35d02
spi: use module_pci_driver

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

Signed-off-by: Axel Lin <axel.lin@gmail.com>
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
drivers/spi/spi-dw-pci.c
drivers/spi/spi-pxa2xx-pci.c