diff options
Diffstat (limited to 'drivers/i2c/busses/i2c-pxa-pci.c')
-rw-r--r-- | drivers/i2c/busses/i2c-pxa-pci.c | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/drivers/i2c/busses/i2c-pxa-pci.c b/drivers/i2c/busses/i2c-pxa-pci.c index a05817980556..4dc9bef17d77 100644 --- a/drivers/i2c/busses/i2c-pxa-pci.c +++ b/drivers/i2c/busses/i2c-pxa-pci.c | |||
@@ -163,17 +163,7 @@ static struct pci_driver ce4100_i2c_driver = { | |||
163 | .remove = __devexit_p(ce4100_i2c_remove), | 163 | .remove = __devexit_p(ce4100_i2c_remove), |
164 | }; | 164 | }; |
165 | 165 | ||
166 | static int __init ce4100_i2c_init(void) | 166 | module_pci_driver(ce4100_i2c_driver); |
167 | { | ||
168 | return pci_register_driver(&ce4100_i2c_driver); | ||
169 | } | ||
170 | module_init(ce4100_i2c_init); | ||
171 | |||
172 | static void __exit ce4100_i2c_exit(void) | ||
173 | { | ||
174 | pci_unregister_driver(&ce4100_i2c_driver); | ||
175 | } | ||
176 | module_exit(ce4100_i2c_exit); | ||
177 | 167 | ||
178 | MODULE_DESCRIPTION("CE4100 PCI-I2C glue code for PXA's driver"); | 168 | MODULE_DESCRIPTION("CE4100 PCI-I2C glue code for PXA's driver"); |
179 | MODULE_LICENSE("GPL v2"); | 169 | MODULE_LICENSE("GPL v2"); |