diff options
Diffstat (limited to 'drivers/media/video/msp3400-driver.c')
-rw-r--r-- | drivers/media/video/msp3400-driver.c | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/drivers/media/video/msp3400-driver.c b/drivers/media/video/msp3400-driver.c index d7cd0f633f63..82ce50721de3 100644 --- a/drivers/media/video/msp3400-driver.c +++ b/drivers/media/video/msp3400-driver.c | |||
@@ -881,18 +881,7 @@ static struct i2c_driver msp_driver = { | |||
881 | .id_table = msp_id, | 881 | .id_table = msp_id, |
882 | }; | 882 | }; |
883 | 883 | ||
884 | static __init int init_msp(void) | 884 | module_i2c_driver(msp_driver); |
885 | { | ||
886 | return i2c_add_driver(&msp_driver); | ||
887 | } | ||
888 | |||
889 | static __exit void exit_msp(void) | ||
890 | { | ||
891 | i2c_del_driver(&msp_driver); | ||
892 | } | ||
893 | |||
894 | module_init(init_msp); | ||
895 | module_exit(exit_msp); | ||
896 | 885 | ||
897 | /* | 886 | /* |
898 | * Overrides for Emacs so that we follow Linus's tabbing style. | 887 | * Overrides for Emacs so that we follow Linus's tabbing style. |