diff options
Diffstat (limited to 'drivers/media/video/vpx3220.c')
-rw-r--r-- | drivers/media/video/vpx3220.c | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/drivers/media/video/vpx3220.c b/drivers/media/video/vpx3220.c index e5cad6ff64a1..2f67b4c5c823 100644 --- a/drivers/media/video/vpx3220.c +++ b/drivers/media/video/vpx3220.c | |||
@@ -588,15 +588,4 @@ static struct i2c_driver vpx3220_driver = { | |||
588 | .id_table = vpx3220_id, | 588 | .id_table = vpx3220_id, |
589 | }; | 589 | }; |
590 | 590 | ||
591 | static __init int init_vpx3220(void) | 591 | module_i2c_driver(vpx3220_driver); |
592 | { | ||
593 | return i2c_add_driver(&vpx3220_driver); | ||
594 | } | ||
595 | |||
596 | static __exit void exit_vpx3220(void) | ||
597 | { | ||
598 | i2c_del_driver(&vpx3220_driver); | ||
599 | } | ||
600 | |||
601 | module_init(init_vpx3220); | ||
602 | module_exit(exit_vpx3220); | ||