aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/platform/davinci/vpfe_capture.c
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-12-21 16:17:53 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-01-03 18:57:02 -0500
commit4c62e9764ab403d42f9b8871b1241fe7812f19d4 (patch)
treeb4ae1ce3993ebf1d64660ba16362f9ef3de73074 /drivers/media/platform/davinci/vpfe_capture.c
parentc571b211a70bcb04249be5cb7338f95d2ec8100f (diff)
Drivers: media: remove __dev* attributes.
CONFIG_HOTPLUG is going away as an option. As a result, the __dev* markings need to be removed. This change removes the use of __devinit, __devexit_p, __devinitdata, __devinitconst, and __devexit from these drivers. Based on patches originally written by Bill Pemberton, but redone by me in order to handle some of the coding style issues better, by hand. Cc: Bill Pemberton <wfp5p@virginia.edu> Cc: Mauro Carvalho Chehab <mchehab@redhat.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/media/platform/davinci/vpfe_capture.c')
-rw-r--r--drivers/media/platform/davinci/vpfe_capture.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/media/platform/davinci/vpfe_capture.c b/drivers/media/platform/davinci/vpfe_capture.c
index 8be492cd8ed4..be9d3e1b4868 100644
--- a/drivers/media/platform/davinci/vpfe_capture.c
+++ b/drivers/media/platform/davinci/vpfe_capture.c
@@ -1831,7 +1831,7 @@ static struct vpfe_device *vpfe_initialize(void)
1831 * itself to the V4L2 driver and initializes fields of each 1831 * itself to the V4L2 driver and initializes fields of each
1832 * device objects 1832 * device objects
1833 */ 1833 */
1834static __devinit int vpfe_probe(struct platform_device *pdev) 1834static int vpfe_probe(struct platform_device *pdev)
1835{ 1835{
1836 struct vpfe_subdev_info *sdinfo; 1836 struct vpfe_subdev_info *sdinfo;
1837 struct vpfe_config *vpfe_cfg; 1837 struct vpfe_config *vpfe_cfg;
@@ -2038,7 +2038,7 @@ probe_free_dev_mem:
2038/* 2038/*
2039 * vpfe_remove : It un-register device from V4L2 driver 2039 * vpfe_remove : It un-register device from V4L2 driver
2040 */ 2040 */
2041static int __devexit vpfe_remove(struct platform_device *pdev) 2041static int vpfe_remove(struct platform_device *pdev)
2042{ 2042{
2043 struct vpfe_device *vpfe_dev = platform_get_drvdata(pdev); 2043 struct vpfe_device *vpfe_dev = platform_get_drvdata(pdev);
2044 2044
@@ -2075,7 +2075,7 @@ static struct platform_driver vpfe_driver = {
2075 .pm = &vpfe_dev_pm_ops, 2075 .pm = &vpfe_dev_pm_ops,
2076 }, 2076 },
2077 .probe = vpfe_probe, 2077 .probe = vpfe_probe,
2078 .remove = __devexit_p(vpfe_remove), 2078 .remove = vpfe_remove,
2079}; 2079};
2080 2080
2081module_platform_driver(vpfe_driver); 2081module_platform_driver(vpfe_driver);