diff options
Diffstat (limited to 'drivers/media/video/wm8739.c')
-rw-r--r-- | drivers/media/video/wm8739.c | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/drivers/media/video/wm8739.c b/drivers/media/video/wm8739.c index a22f765e968a..3bb99e93febe 100644 --- a/drivers/media/video/wm8739.c +++ b/drivers/media/video/wm8739.c | |||
@@ -291,15 +291,4 @@ static struct i2c_driver wm8739_driver = { | |||
291 | .id_table = wm8739_id, | 291 | .id_table = wm8739_id, |
292 | }; | 292 | }; |
293 | 293 | ||
294 | static __init int init_wm8739(void) | 294 | module_i2c_driver(wm8739_driver); |
295 | { | ||
296 | return i2c_add_driver(&wm8739_driver); | ||
297 | } | ||
298 | |||
299 | static __exit void exit_wm8739(void) | ||
300 | { | ||
301 | i2c_del_driver(&wm8739_driver); | ||
302 | } | ||
303 | |||
304 | module_init(init_wm8739); | ||
305 | module_exit(exit_wm8739); | ||