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 61b1dd11836..e5c0eedebc5 100644 --- a/drivers/media/video/ths7303.c +++ b/drivers/media/video/ths7303.c @@ -137,16 +137,4 @@ static struct i2c_driver ths7303_driver = { .id_table = ths7303_id, }; -static int __init ths7303_init(void) -{ - return i2c_add_driver(&ths7303_driver); -} - -static void __exit ths7303_exit(void) -{ - i2c_del_driver(&ths7303_driver); -} - -module_init(ths7303_init); -module_exit(ths7303_exit); - +module_i2c_driver(ths7303_driver); |