aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/rc/redrat3.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/rc/redrat3.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/rc/redrat3.c')
-rw-r--r--drivers/media/rc/redrat3.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/media/rc/redrat3.c b/drivers/media/rc/redrat3.c
index a8887aba9faf..1800326f93e6 100644
--- a/drivers/media/rc/redrat3.c
+++ b/drivers/media/rc/redrat3.c
@@ -1102,8 +1102,8 @@ out:
1102 return NULL; 1102 return NULL;
1103} 1103}
1104 1104
1105static int __devinit redrat3_dev_probe(struct usb_interface *intf, 1105static int redrat3_dev_probe(struct usb_interface *intf,
1106 const struct usb_device_id *id) 1106 const struct usb_device_id *id)
1107{ 1107{
1108 struct usb_device *udev = interface_to_usbdev(intf); 1108 struct usb_device *udev = interface_to_usbdev(intf);
1109 struct device *dev = &intf->dev; 1109 struct device *dev = &intf->dev;
@@ -1241,7 +1241,7 @@ no_endpoints:
1241 return retval; 1241 return retval;
1242} 1242}
1243 1243
1244static void __devexit redrat3_dev_disconnect(struct usb_interface *intf) 1244static void redrat3_dev_disconnect(struct usb_interface *intf)
1245{ 1245{
1246 struct usb_device *udev = interface_to_usbdev(intf); 1246 struct usb_device *udev = interface_to_usbdev(intf);
1247 struct redrat3_dev *rr3 = usb_get_intfdata(intf); 1247 struct redrat3_dev *rr3 = usb_get_intfdata(intf);
@@ -1281,7 +1281,7 @@ static int redrat3_dev_resume(struct usb_interface *intf)
1281static struct usb_driver redrat3_dev_driver = { 1281static struct usb_driver redrat3_dev_driver = {
1282 .name = DRIVER_NAME, 1282 .name = DRIVER_NAME,
1283 .probe = redrat3_dev_probe, 1283 .probe = redrat3_dev_probe,
1284 .disconnect = __devexit_p(redrat3_dev_disconnect), 1284 .disconnect = redrat3_dev_disconnect,
1285 .suspend = redrat3_dev_suspend, 1285 .suspend = redrat3_dev_suspend,
1286 .resume = redrat3_dev_resume, 1286 .resume = redrat3_dev_resume,
1287 .reset_resume = redrat3_dev_resume, 1287 .reset_resume = redrat3_dev_resume,