aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/tw9910.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/media/video/tw9910.c')
-rw-r--r--drivers/media/video/tw9910.c16
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/* 954module_i2c_driver(tw9910_i2c_driver);
955 * module function
956 */
957static int __init tw9910_module_init(void)
958{
959 return i2c_add_driver(&tw9910_i2c_driver);
960}
961
962static void __exit tw9910_module_exit(void)
963{
964 i2c_del_driver(&tw9910_i2c_driver);
965}
966
967module_init(tw9910_module_init);
968module_exit(tw9910_module_exit);
969 955
970MODULE_DESCRIPTION("SoC Camera driver for tw9910"); 956MODULE_DESCRIPTION("SoC Camera driver for tw9910");
971MODULE_AUTHOR("Kuninori Morimoto"); 957MODULE_AUTHOR("Kuninori Morimoto");