gpio: Convert drivers to use module_pci_driver()
authorAxel Lin <[email protected]>
Fri, 6 Apr 2012 12:13:30 +0000 (20:13 +0800)
committerGrant Likely <[email protected]>
Sat, 7 Apr 2012 20:30:35 +0000 (14:30 -0600)
commit93baa65fe50a83056c97973de2300337b000472e
treee91ed77013c1219d2e90581a8b409ff779a92630
parentc29985dd3e26118c8ba64105e09b85b714462765
gpio: Convert drivers to use module_pci_driver()

This patch converts the drivers in drivers/gpio/* to use
module_pci_driver() macro which makes the code smaller and a bit
simpler by having less boilerplate.

Signed-off-by: Axel Lin <[email protected]>
Signed-off-by: Grant Likely <[email protected]>
drivers/gpio/gpio-bt8xx.c
drivers/gpio/gpio-ml-ioh.c
drivers/gpio/gpio-pch.c
drivers/gpio/gpio-sodaville.c