diff options
Diffstat (limited to 'drivers/i2c/busses/i2c-ibm_iic.c')
-rw-r--r-- | drivers/i2c/busses/i2c-ibm_iic.c | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/drivers/i2c/busses/i2c-ibm_iic.c b/drivers/i2c/busses/i2c-ibm_iic.c index c08ceb957aa..806e225f3de 100644 --- a/drivers/i2c/busses/i2c-ibm_iic.c +++ b/drivers/i2c/busses/i2c-ibm_iic.c | |||
@@ -815,15 +815,4 @@ static struct platform_driver ibm_iic_driver = { | |||
815 | .remove = __devexit_p(iic_remove), | 815 | .remove = __devexit_p(iic_remove), |
816 | }; | 816 | }; |
817 | 817 | ||
818 | static int __init iic_init(void) | 818 | module_platform_driver(ibm_iic_driver); |
819 | { | ||
820 | return platform_driver_register(&ibm_iic_driver); | ||
821 | } | ||
822 | |||
823 | static void __exit iic_exit(void) | ||
824 | { | ||
825 | platform_driver_unregister(&ibm_iic_driver); | ||
826 | } | ||
827 | |||
828 | module_init(iic_init); | ||
829 | module_exit(iic_exit); | ||