diff options
Diffstat (limited to 'drivers/media/video/tvp7002.c')
-rw-r--r-- | drivers/media/video/tvp7002.c | 25 |
1 files changed, 1 insertions, 24 deletions
diff --git a/drivers/media/video/tvp7002.c b/drivers/media/video/tvp7002.c index 236c559d5f51..d7676d85c4df 100644 --- a/drivers/media/video/tvp7002.c +++ b/drivers/media/video/tvp7002.c | |||
@@ -1069,27 +1069,4 @@ static struct i2c_driver tvp7002_driver = { | |||
1069 | .id_table = tvp7002_id, | 1069 | .id_table = tvp7002_id, |
1070 | }; | 1070 | }; |
1071 | 1071 | ||
1072 | /* | 1072 | module_i2c_driver(tvp7002_driver); |
1073 | * tvp7002_init - Initialize driver via I2C interface | ||
1074 | * | ||
1075 | * Register the TVP7002 driver. | ||
1076 | * Return 0 on success or error code on failure. | ||
1077 | */ | ||
1078 | static int __init tvp7002_init(void) | ||
1079 | { | ||
1080 | return i2c_add_driver(&tvp7002_driver); | ||
1081 | } | ||
1082 | |||
1083 | /* | ||
1084 | * tvp7002_exit - Remove driver via I2C interface | ||
1085 | * | ||
1086 | * Unregister the TVP7002 driver. | ||
1087 | * Returns nothing. | ||
1088 | */ | ||
1089 | static void __exit tvp7002_exit(void) | ||
1090 | { | ||
1091 | i2c_del_driver(&tvp7002_driver); | ||
1092 | } | ||
1093 | |||
1094 | module_init(tvp7002_init); | ||
1095 | module_exit(tvp7002_exit); | ||