diff options
Diffstat (limited to 'drivers/media/video/tw9910.c')
-rw-r--r-- | drivers/media/video/tw9910.c | 16 |
1 files changed, 1 insertions, 15 deletions
diff --git a/drivers/media/video/tw9910.c b/drivers/media/video/tw9910.c index a514fa61116c..8768efb8508a 100644 --- a/drivers/media/video/tw9910.c +++ b/drivers/media/video/tw9910.c | |||
@@ -951,21 +951,7 @@ static struct i2c_driver tw9910_i2c_driver = { | |||
951 | .id_table = tw9910_id, | 951 | .id_table = tw9910_id, |
952 | }; | 952 | }; |
953 | 953 | ||
954 | /* | 954 | module_i2c_driver(tw9910_i2c_driver); |
955 | * module function | ||
956 | */ | ||
957 | static int __init tw9910_module_init(void) | ||
958 | { | ||
959 | return i2c_add_driver(&tw9910_i2c_driver); | ||
960 | } | ||
961 | |||
962 | static void __exit tw9910_module_exit(void) | ||
963 | { | ||
964 | i2c_del_driver(&tw9910_i2c_driver); | ||
965 | } | ||
966 | |||
967 | module_init(tw9910_module_init); | ||
968 | module_exit(tw9910_module_exit); | ||
969 | 955 | ||
970 | MODULE_DESCRIPTION("SoC Camera driver for tw9910"); | 956 | MODULE_DESCRIPTION("SoC Camera driver for tw9910"); |
971 | MODULE_AUTHOR("Kuninori Morimoto"); | 957 | MODULE_AUTHOR("Kuninori Morimoto"); |