diff options
Diffstat (limited to 'drivers/media/video/vp27smpx.c')
-rw-r--r-- | drivers/media/video/vp27smpx.c | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/drivers/media/video/vp27smpx.c b/drivers/media/video/vp27smpx.c index c15efb6e7771..7cfbc9d94a48 100644 --- a/drivers/media/video/vp27smpx.c +++ b/drivers/media/video/vp27smpx.c | |||
@@ -208,15 +208,4 @@ static struct i2c_driver vp27smpx_driver = { | |||
208 | .id_table = vp27smpx_id, | 208 | .id_table = vp27smpx_id, |
209 | }; | 209 | }; |
210 | 210 | ||
211 | static __init int init_vp27smpx(void) | 211 | module_i2c_driver(vp27smpx_driver); |
212 | { | ||
213 | return i2c_add_driver(&vp27smpx_driver); | ||
214 | } | ||
215 | |||
216 | static __exit void exit_vp27smpx(void) | ||
217 | { | ||
218 | i2c_del_driver(&vp27smpx_driver); | ||
219 | } | ||
220 | |||
221 | module_init(init_vp27smpx); | ||
222 | module_exit(exit_vp27smpx); | ||