aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/radio/radio-timb.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/radio/radio-timb.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/radio/radio-timb.c')
-rw-r--r--drivers/media/radio/radio-timb.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/media/radio/radio-timb.c b/drivers/media/radio/radio-timb.c
index 5cf07779f4bb..b87effeb5dc6 100644
--- a/drivers/media/radio/radio-timb.c
+++ b/drivers/media/radio/radio-timb.c
@@ -145,7 +145,7 @@ static const struct v4l2_file_operations timbradio_fops = {
145 .unlocked_ioctl = video_ioctl2, 145 .unlocked_ioctl = video_ioctl2,
146}; 146};
147 147
148static int __devinit timbradio_probe(struct platform_device *pdev) 148static int timbradio_probe(struct platform_device *pdev)
149{ 149{
150 struct timb_radio_platform_data *pdata = pdev->dev.platform_data; 150 struct timb_radio_platform_data *pdata = pdev->dev.platform_data;
151 struct timbradio *tr; 151 struct timbradio *tr;
@@ -201,7 +201,7 @@ err:
201 return err; 201 return err;
202} 202}
203 203
204static int __devexit timbradio_remove(struct platform_device *pdev) 204static int timbradio_remove(struct platform_device *pdev)
205{ 205{
206 struct timbradio *tr = platform_get_drvdata(pdev); 206 struct timbradio *tr = platform_get_drvdata(pdev);
207 207
@@ -219,7 +219,7 @@ static struct platform_driver timbradio_platform_driver = {
219 .owner = THIS_MODULE, 219 .owner = THIS_MODULE,
220 }, 220 },
221 .probe = timbradio_probe, 221 .probe = timbradio_probe,
222 .remove = __devexit_p(timbradio_remove), 222 .remove = timbradio_remove,
223}; 223};
224 224
225module_platform_driver(timbradio_platform_driver); 225module_platform_driver(timbradio_platform_driver);