diff options
Diffstat (limited to 'drivers/media/video/ths7303.c')
-rw-r--r-- | drivers/media/video/ths7303.c | 14 |
1 files changed, 1 insertions, 13 deletions
diff --git a/drivers/media/video/ths7303.c b/drivers/media/video/ths7303.c index 61b1dd118364..e5c0eedebc58 100644 --- a/drivers/media/video/ths7303.c +++ b/drivers/media/video/ths7303.c | |||
@@ -137,16 +137,4 @@ static struct i2c_driver ths7303_driver = { | |||
137 | .id_table = ths7303_id, | 137 | .id_table = ths7303_id, |
138 | }; | 138 | }; |
139 | 139 | ||
140 | static int __init ths7303_init(void) | 140 | module_i2c_driver(ths7303_driver); |
141 | { | ||
142 | return i2c_add_driver(&ths7303_driver); | ||
143 | } | ||
144 | |||
145 | static void __exit ths7303_exit(void) | ||
146 | { | ||
147 | i2c_del_driver(&ths7303_driver); | ||
148 | } | ||
149 | |||
150 | module_init(ths7303_init); | ||
151 | module_exit(ths7303_exit); | ||
152 | |||