diff options
Diffstat (limited to 'drivers/media/video/wm8775.c')
-rw-r--r-- | drivers/media/video/wm8775.c | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/drivers/media/video/wm8775.c b/drivers/media/video/wm8775.c index 9cedb1e69b58..bee77ea9f49e 100644 --- a/drivers/media/video/wm8775.c +++ b/drivers/media/video/wm8775.c | |||
@@ -339,15 +339,4 @@ static struct i2c_driver wm8775_driver = { | |||
339 | .id_table = wm8775_id, | 339 | .id_table = wm8775_id, |
340 | }; | 340 | }; |
341 | 341 | ||
342 | static __init int init_wm8775(void) | 342 | module_i2c_driver(wm8775_driver); |
343 | { | ||
344 | return i2c_add_driver(&wm8775_driver); | ||
345 | } | ||
346 | |||
347 | static __exit void exit_wm8775(void) | ||
348 | { | ||
349 | i2c_del_driver(&wm8775_driver); | ||
350 | } | ||
351 | |||
352 | module_init(init_wm8775); | ||
353 | module_exit(exit_wm8775); | ||