aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/media/i2c/adp1653.c4
-rw-r--r--drivers/media/i2c/smiapp/smiapp-core.c4
-rw-r--r--drivers/media/platform/soc_camera/omap1_camera.c6
-rw-r--r--drivers/media/radio/radio-si4713.c4
-rw-r--r--drivers/media/rc/ir-rx51.c4
5 files changed, 11 insertions, 11 deletions
diff --git a/drivers/media/i2c/adp1653.c b/drivers/media/i2c/adp1653.c
index df163800c8e1..ef75abe5984c 100644
--- a/drivers/media/i2c/adp1653.c
+++ b/drivers/media/i2c/adp1653.c
@@ -447,7 +447,7 @@ free_and_quit:
447 return ret; 447 return ret;
448} 448}
449 449
450static int __exit adp1653_remove(struct i2c_client *client) 450static int adp1653_remove(struct i2c_client *client)
451{ 451{
452 struct v4l2_subdev *subdev = i2c_get_clientdata(client); 452 struct v4l2_subdev *subdev = i2c_get_clientdata(client);
453 struct adp1653_flash *flash = to_adp1653_flash(subdev); 453 struct adp1653_flash *flash = to_adp1653_flash(subdev);
@@ -476,7 +476,7 @@ static struct i2c_driver adp1653_i2c_driver = {
476 .pm = &adp1653_pm_ops, 476 .pm = &adp1653_pm_ops,
477 }, 477 },
478 .probe = adp1653_probe, 478 .probe = adp1653_probe,
479 .remove = __exit_p(adp1653_remove), 479 .remove = adp1653_remove,
480 .id_table = adp1653_id_table, 480 .id_table = adp1653_id_table,
481}; 481};
482 482
diff --git a/drivers/media/i2c/smiapp/smiapp-core.c b/drivers/media/i2c/smiapp/smiapp-core.c
index 83c7ed7ffcc2..cae4f4683851 100644
--- a/drivers/media/i2c/smiapp/smiapp-core.c
+++ b/drivers/media/i2c/smiapp/smiapp-core.c
@@ -2833,7 +2833,7 @@ static int smiapp_probe(struct i2c_client *client,
2833 sensor->src->pads, 0); 2833 sensor->src->pads, 0);
2834} 2834}
2835 2835
2836static int __exit smiapp_remove(struct i2c_client *client) 2836static int smiapp_remove(struct i2c_client *client)
2837{ 2837{
2838 struct v4l2_subdev *subdev = i2c_get_clientdata(client); 2838 struct v4l2_subdev *subdev = i2c_get_clientdata(client);
2839 struct smiapp_sensor *sensor = to_smiapp_sensor(subdev); 2839 struct smiapp_sensor *sensor = to_smiapp_sensor(subdev);
@@ -2881,7 +2881,7 @@ static struct i2c_driver smiapp_i2c_driver = {
2881 .pm = &smiapp_pm_ops, 2881 .pm = &smiapp_pm_ops,
2882 }, 2882 },
2883 .probe = smiapp_probe, 2883 .probe = smiapp_probe,
2884 .remove = __exit_p(smiapp_remove), 2884 .remove = smiapp_remove,
2885 .id_table = smiapp_id_table, 2885 .id_table = smiapp_id_table,
2886}; 2886};
2887 2887
diff --git a/drivers/media/platform/soc_camera/omap1_camera.c b/drivers/media/platform/soc_camera/omap1_camera.c
index 2547bf88f79f..9689a6e89b7f 100644
--- a/drivers/media/platform/soc_camera/omap1_camera.c
+++ b/drivers/media/platform/soc_camera/omap1_camera.c
@@ -1546,7 +1546,7 @@ static struct soc_camera_host_ops omap1_host_ops = {
1546 .poll = omap1_cam_poll, 1546 .poll = omap1_cam_poll,
1547}; 1547};
1548 1548
1549static int __init omap1_cam_probe(struct platform_device *pdev) 1549static int omap1_cam_probe(struct platform_device *pdev)
1550{ 1550{
1551 struct omap1_cam_dev *pcdev; 1551 struct omap1_cam_dev *pcdev;
1552 struct resource *res; 1552 struct resource *res;
@@ -1677,7 +1677,7 @@ exit:
1677 return err; 1677 return err;
1678} 1678}
1679 1679
1680static int __exit omap1_cam_remove(struct platform_device *pdev) 1680static int omap1_cam_remove(struct platform_device *pdev)
1681{ 1681{
1682 struct soc_camera_host *soc_host = to_soc_camera_host(&pdev->dev); 1682 struct soc_camera_host *soc_host = to_soc_camera_host(&pdev->dev);
1683 struct omap1_cam_dev *pcdev = container_of(soc_host, 1683 struct omap1_cam_dev *pcdev = container_of(soc_host,
@@ -1709,7 +1709,7 @@ static struct platform_driver omap1_cam_driver = {
1709 .name = DRIVER_NAME, 1709 .name = DRIVER_NAME,
1710 }, 1710 },
1711 .probe = omap1_cam_probe, 1711 .probe = omap1_cam_probe,
1712 .remove = __exit_p(omap1_cam_remove), 1712 .remove = omap1_cam_remove,
1713}; 1713};
1714 1714
1715module_platform_driver(omap1_cam_driver); 1715module_platform_driver(omap1_cam_driver);
diff --git a/drivers/media/radio/radio-si4713.c b/drivers/media/radio/radio-si4713.c
index 1507c9d508d7..8ae8442d6f97 100644
--- a/drivers/media/radio/radio-si4713.c
+++ b/drivers/media/radio/radio-si4713.c
@@ -328,7 +328,7 @@ exit:
328} 328}
329 329
330/* radio_si4713_pdriver_remove - remove the device */ 330/* radio_si4713_pdriver_remove - remove the device */
331static int __exit radio_si4713_pdriver_remove(struct platform_device *pdev) 331static int radio_si4713_pdriver_remove(struct platform_device *pdev)
332{ 332{
333 struct v4l2_device *v4l2_dev = platform_get_drvdata(pdev); 333 struct v4l2_device *v4l2_dev = platform_get_drvdata(pdev);
334 struct radio_si4713_device *rsdev = container_of(v4l2_dev, 334 struct radio_si4713_device *rsdev = container_of(v4l2_dev,
@@ -350,7 +350,7 @@ static struct platform_driver radio_si4713_pdriver = {
350 .name = "radio-si4713", 350 .name = "radio-si4713",
351 }, 351 },
352 .probe = radio_si4713_pdriver_probe, 352 .probe = radio_si4713_pdriver_probe,
353 .remove = __exit_p(radio_si4713_pdriver_remove), 353 .remove = radio_si4713_pdriver_remove,
354}; 354};
355 355
356module_platform_driver(radio_si4713_pdriver); 356module_platform_driver(radio_si4713_pdriver);
diff --git a/drivers/media/rc/ir-rx51.c b/drivers/media/rc/ir-rx51.c
index 8ead492d03aa..31b955bf7664 100644
--- a/drivers/media/rc/ir-rx51.c
+++ b/drivers/media/rc/ir-rx51.c
@@ -464,14 +464,14 @@ static int lirc_rx51_probe(struct platform_device *dev)
464 return 0; 464 return 0;
465} 465}
466 466
467static int __exit lirc_rx51_remove(struct platform_device *dev) 467static int lirc_rx51_remove(struct platform_device *dev)
468{ 468{
469 return lirc_unregister_driver(lirc_rx51_driver.minor); 469 return lirc_unregister_driver(lirc_rx51_driver.minor);
470} 470}
471 471
472struct platform_driver lirc_rx51_platform_driver = { 472struct platform_driver lirc_rx51_platform_driver = {
473 .probe = lirc_rx51_probe, 473 .probe = lirc_rx51_probe,
474 .remove = __exit_p(lirc_rx51_remove), 474 .remove = lirc_rx51_remove,
475 .suspend = lirc_rx51_suspend, 475 .suspend = lirc_rx51_suspend,
476 .resume = lirc_rx51_resume, 476 .resume = lirc_rx51_resume,
477 .driver = { 477 .driver = {