aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/platform/blackfin
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/blackfin
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/blackfin')
-rw-r--r--drivers/media/platform/blackfin/bfin_capture.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/media/platform/blackfin/bfin_capture.c b/drivers/media/platform/blackfin/bfin_capture.c
index ec476ef5b709..1aad2a65d2f3 100644
--- a/drivers/media/platform/blackfin/bfin_capture.c
+++ b/drivers/media/platform/blackfin/bfin_capture.c
@@ -862,7 +862,7 @@ static struct v4l2_file_operations bcap_fops = {
862 .poll = bcap_poll 862 .poll = bcap_poll
863}; 863};
864 864
865static int __devinit bcap_probe(struct platform_device *pdev) 865static int bcap_probe(struct platform_device *pdev)
866{ 866{
867 struct bcap_device *bcap_dev; 867 struct bcap_device *bcap_dev;
868 struct video_device *vfd; 868 struct video_device *vfd;
@@ -1026,7 +1026,7 @@ err_free_dev:
1026 return ret; 1026 return ret;
1027} 1027}
1028 1028
1029static int __devexit bcap_remove(struct platform_device *pdev) 1029static int bcap_remove(struct platform_device *pdev)
1030{ 1030{
1031 struct v4l2_device *v4l2_dev = platform_get_drvdata(pdev); 1031 struct v4l2_device *v4l2_dev = platform_get_drvdata(pdev);
1032 struct bcap_device *bcap_dev = container_of(v4l2_dev, 1032 struct bcap_device *bcap_dev = container_of(v4l2_dev,
@@ -1048,7 +1048,7 @@ static struct platform_driver bcap_driver = {
1048 .owner = THIS_MODULE, 1048 .owner = THIS_MODULE,
1049 }, 1049 },
1050 .probe = bcap_probe, 1050 .probe = bcap_probe,
1051 .remove = __devexit_p(bcap_remove), 1051 .remove = bcap_remove,
1052}; 1052};
1053module_platform_driver(bcap_driver); 1053module_platform_driver(bcap_driver);
1054 1054