diff options
Diffstat (limited to 'drivers/mfd/htc-pasic3.c')
-rw-r--r-- | drivers/mfd/htc-pasic3.c | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/drivers/mfd/htc-pasic3.c b/drivers/mfd/htc-pasic3.c index 9e5453d21a68..0285fceb99a6 100644 --- a/drivers/mfd/htc-pasic3.c +++ b/drivers/mfd/htc-pasic3.c | |||
@@ -208,18 +208,7 @@ static struct platform_driver pasic3_driver = { | |||
208 | .remove = pasic3_remove, | 208 | .remove = pasic3_remove, |
209 | }; | 209 | }; |
210 | 210 | ||
211 | static int __init pasic3_base_init(void) | 211 | module_platform_driver_probe(pasic3_driver, pasic3_probe); |
212 | { | ||
213 | return platform_driver_probe(&pasic3_driver, pasic3_probe); | ||
214 | } | ||
215 | |||
216 | static void __exit pasic3_base_exit(void) | ||
217 | { | ||
218 | platform_driver_unregister(&pasic3_driver); | ||
219 | } | ||
220 | |||
221 | module_init(pasic3_base_init); | ||
222 | module_exit(pasic3_base_exit); | ||
223 | 212 | ||
224 | MODULE_AUTHOR("Philipp Zabel <philipp.zabel@gmail.com>"); | 213 | MODULE_AUTHOR("Philipp Zabel <philipp.zabel@gmail.com>"); |
225 | MODULE_DESCRIPTION("Core driver for HTC PASIC3"); | 214 | MODULE_DESCRIPTION("Core driver for HTC PASIC3"); |