diff options
Diffstat (limited to 'drivers/media/video/tea6420.c')
-rw-r--r-- | drivers/media/video/tea6420.c | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/drivers/media/video/tea6420.c b/drivers/media/video/tea6420.c index f350b6c24500..38757217a074 100644 --- a/drivers/media/video/tea6420.c +++ b/drivers/media/video/tea6420.c | |||
@@ -166,15 +166,4 @@ static struct i2c_driver tea6420_driver = { | |||
166 | .id_table = tea6420_id, | 166 | .id_table = tea6420_id, |
167 | }; | 167 | }; |
168 | 168 | ||
169 | static __init int init_tea6420(void) | 169 | module_i2c_driver(tea6420_driver); |
170 | { | ||
171 | return i2c_add_driver(&tea6420_driver); | ||
172 | } | ||
173 | |||
174 | static __exit void exit_tea6420(void) | ||
175 | { | ||
176 | i2c_del_driver(&tea6420_driver); | ||
177 | } | ||
178 | |||
179 | module_init(init_tea6420); | ||
180 | module_exit(exit_tea6420); | ||