diff options
Diffstat (limited to 'drivers/media/video/imx074.c')
-rw-r--r-- | drivers/media/video/imx074.c | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/drivers/media/video/imx074.c b/drivers/media/video/imx074.c index eec75bb57203..351e9bafe8fe 100644 --- a/drivers/media/video/imx074.c +++ b/drivers/media/video/imx074.c | |||
@@ -468,18 +468,7 @@ static struct i2c_driver imx074_i2c_driver = { | |||
468 | .id_table = imx074_id, | 468 | .id_table = imx074_id, |
469 | }; | 469 | }; |
470 | 470 | ||
471 | static int __init imx074_mod_init(void) | 471 | module_i2c_driver(imx074_i2c_driver); |
472 | { | ||
473 | return i2c_add_driver(&imx074_i2c_driver); | ||
474 | } | ||
475 | |||
476 | static void __exit imx074_mod_exit(void) | ||
477 | { | ||
478 | i2c_del_driver(&imx074_i2c_driver); | ||
479 | } | ||
480 | |||
481 | module_init(imx074_mod_init); | ||
482 | module_exit(imx074_mod_exit); | ||
483 | 472 | ||
484 | MODULE_DESCRIPTION("Sony IMX074 Camera driver"); | 473 | MODULE_DESCRIPTION("Sony IMX074 Camera driver"); |
485 | MODULE_AUTHOR("Guennadi Liakhovetski <g.liakhovetski@gmx.de>"); | 474 | MODULE_AUTHOR("Guennadi Liakhovetski <g.liakhovetski@gmx.de>"); |