diff options
Diffstat (limited to 'drivers/video/backlight/adp8860_bl.c')
-rw-r--r-- | drivers/video/backlight/adp8860_bl.c | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/drivers/video/backlight/adp8860_bl.c b/drivers/video/backlight/adp8860_bl.c index 378276c9d3cf..550dbf0bb896 100644 --- a/drivers/video/backlight/adp8860_bl.c +++ b/drivers/video/backlight/adp8860_bl.c | |||
@@ -819,17 +819,7 @@ static struct i2c_driver adp8860_driver = { | |||
819 | .id_table = adp8860_id, | 819 | .id_table = adp8860_id, |
820 | }; | 820 | }; |
821 | 821 | ||
822 | static int __init adp8860_init(void) | 822 | module_i2c_driver(adp8860_driver); |
823 | { | ||
824 | return i2c_add_driver(&adp8860_driver); | ||
825 | } | ||
826 | module_init(adp8860_init); | ||
827 | |||
828 | static void __exit adp8860_exit(void) | ||
829 | { | ||
830 | i2c_del_driver(&adp8860_driver); | ||
831 | } | ||
832 | module_exit(adp8860_exit); | ||
833 | 823 | ||
834 | MODULE_LICENSE("GPL v2"); | 824 | MODULE_LICENSE("GPL v2"); |
835 | MODULE_AUTHOR("Michael Hennerich <hennerich@blackfin.uclinux.org>"); | 825 | MODULE_AUTHOR("Michael Hennerich <hennerich@blackfin.uclinux.org>"); |