aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/rc
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2013-01-03 19:17:50 -0500
committerLinus Torvalds <torvalds@linux-foundation.org>2013-01-03 19:17:50 -0500
commit49569646b2413ee1a4fb7c4537fca058ac22292e (patch)
tree41b8bc72975610295c2e4cf9318478272c667c75 /drivers/media/rc
parent5f738967e89584f99c6a11c6bf09b16c50b6a03e (diff)
parent6ae141718e3f9c7e2c620e999c86612a7f415bb1 (diff)
Merge tag 'driver-core-3.8-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core
Pull driver core __dev* removal patches - take 3 - from Greg Kroah-Hartman: "Here are the remaining __dev* removal patches against the 3.8-rc2 tree. All of these patches were previously sent to the subsystem maintainers, most of them were picked up and pushed to you, but there were a number that fell through the cracks, and new drivers were added during the merge window, so this series cleans up the rest of the instances of these markings. Third time's the charm... Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>" Fixed up trivial conflict with the pinctrl pull in pinctrl-sirf.c. * tag 'driver-core-3.8-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core: (54 commits) misc: remove __dev* attributes. include: remove __dev* attributes. Documentation: remove __dev* attributes. Drivers: misc: remove __dev* attributes. Drivers: block: remove __dev* attributes. Drivers: bcma: remove __dev* attributes. Drivers: char: remove __dev* attributes. Drivers: clocksource: remove __dev* attributes. Drivers: ssb: remove __dev* attributes. Drivers: dma: remove __dev* attributes. Drivers: gpu: remove __dev* attributes. Drivers: infinband: remove __dev* attributes. Drivers: memory: remove __dev* attributes. Drivers: mmc: remove __dev* attributes. Drivers: iommu: remove __dev* attributes. Drivers: power: remove __dev* attributes. Drivers: message: remove __dev* attributes. Drivers: macintosh: remove __dev* attributes. Drivers: mfd: remove __dev* attributes. pstore: remove __dev* attributes. ...
Diffstat (limited to 'drivers/media/rc')
-rw-r--r--drivers/media/rc/ene_ir.c2
-rw-r--r--drivers/media/rc/fintek-cir.c4
-rw-r--r--drivers/media/rc/gpio-ir-recv.c6
-rw-r--r--drivers/media/rc/iguanair.c8
-rw-r--r--drivers/media/rc/imon.c8
-rw-r--r--drivers/media/rc/ir-rx51.c2
-rw-r--r--drivers/media/rc/ite-cir.c4
-rw-r--r--drivers/media/rc/mceusb.c8
-rw-r--r--drivers/media/rc/nuvoton-cir.c4
-rw-r--r--drivers/media/rc/redrat3.c8
-rw-r--r--drivers/media/rc/streamzap.c4
-rw-r--r--drivers/media/rc/ttusbir.c8
-rw-r--r--drivers/media/rc/winbond-cir.c6
13 files changed, 36 insertions, 36 deletions
diff --git a/drivers/media/rc/ene_ir.c b/drivers/media/rc/ene_ir.c
index 22231dd4f62b..cef04786b52f 100644
--- a/drivers/media/rc/ene_ir.c
+++ b/drivers/media/rc/ene_ir.c
@@ -1172,7 +1172,7 @@ static struct pnp_driver ene_driver = {
1172 .flags = PNP_DRIVER_RES_DO_NOT_CHANGE, 1172 .flags = PNP_DRIVER_RES_DO_NOT_CHANGE,
1173 1173
1174 .probe = ene_probe, 1174 .probe = ene_probe,
1175 .remove = __devexit_p(ene_remove), 1175 .remove = ene_remove,
1176#ifdef CONFIG_PM 1176#ifdef CONFIG_PM
1177 .suspend = ene_suspend, 1177 .suspend = ene_suspend,
1178 .resume = ene_resume, 1178 .resume = ene_resume,
diff --git a/drivers/media/rc/fintek-cir.c b/drivers/media/rc/fintek-cir.c
index 936c3f79b62c..1df410e13688 100644
--- a/drivers/media/rc/fintek-cir.c
+++ b/drivers/media/rc/fintek-cir.c
@@ -590,7 +590,7 @@ failure:
590 return ret; 590 return ret;
591} 591}
592 592
593static void __devexit fintek_remove(struct pnp_dev *pdev) 593static void fintek_remove(struct pnp_dev *pdev)
594{ 594{
595 struct fintek_dev *fintek = pnp_get_drvdata(pdev); 595 struct fintek_dev *fintek = pnp_get_drvdata(pdev);
596 unsigned long flags; 596 unsigned long flags;
@@ -678,7 +678,7 @@ static struct pnp_driver fintek_driver = {
678 .id_table = fintek_ids, 678 .id_table = fintek_ids,
679 .flags = PNP_DRIVER_RES_DO_NOT_CHANGE, 679 .flags = PNP_DRIVER_RES_DO_NOT_CHANGE,
680 .probe = fintek_probe, 680 .probe = fintek_probe,
681 .remove = __devexit_p(fintek_remove), 681 .remove = fintek_remove,
682 .suspend = fintek_suspend, 682 .suspend = fintek_suspend,
683 .resume = fintek_resume, 683 .resume = fintek_resume,
684 .shutdown = fintek_shutdown, 684 .shutdown = fintek_shutdown,
diff --git a/drivers/media/rc/gpio-ir-recv.c b/drivers/media/rc/gpio-ir-recv.c
index ba1a1eb356cf..4f71a7d1f019 100644
--- a/drivers/media/rc/gpio-ir-recv.c
+++ b/drivers/media/rc/gpio-ir-recv.c
@@ -58,7 +58,7 @@ err_get_value:
58 return IRQ_HANDLED; 58 return IRQ_HANDLED;
59} 59}
60 60
61static int __devinit gpio_ir_recv_probe(struct platform_device *pdev) 61static int gpio_ir_recv_probe(struct platform_device *pdev)
62{ 62{
63 struct gpio_rc_dev *gpio_dev; 63 struct gpio_rc_dev *gpio_dev;
64 struct rc_dev *rcdev; 64 struct rc_dev *rcdev;
@@ -140,7 +140,7 @@ err_allocate_device:
140 return rc; 140 return rc;
141} 141}
142 142
143static int __devexit gpio_ir_recv_remove(struct platform_device *pdev) 143static int gpio_ir_recv_remove(struct platform_device *pdev)
144{ 144{
145 struct gpio_rc_dev *gpio_dev = platform_get_drvdata(pdev); 145 struct gpio_rc_dev *gpio_dev = platform_get_drvdata(pdev);
146 146
@@ -188,7 +188,7 @@ static const struct dev_pm_ops gpio_ir_recv_pm_ops = {
188 188
189static struct platform_driver gpio_ir_recv_driver = { 189static struct platform_driver gpio_ir_recv_driver = {
190 .probe = gpio_ir_recv_probe, 190 .probe = gpio_ir_recv_probe,
191 .remove = __devexit_p(gpio_ir_recv_remove), 191 .remove = gpio_ir_recv_remove,
192 .driver = { 192 .driver = {
193 .name = GPIO_IR_DRIVER_NAME, 193 .name = GPIO_IR_DRIVER_NAME,
194 .owner = THIS_MODULE, 194 .owner = THIS_MODULE,
diff --git a/drivers/media/rc/iguanair.c b/drivers/media/rc/iguanair.c
index 5a9163da63c3..b99b096d8a8f 100644
--- a/drivers/media/rc/iguanair.c
+++ b/drivers/media/rc/iguanair.c
@@ -425,8 +425,8 @@ static void iguanair_close(struct rc_dev *rdev)
425 mutex_unlock(&ir->lock); 425 mutex_unlock(&ir->lock);
426} 426}
427 427
428static int __devinit iguanair_probe(struct usb_interface *intf, 428static int iguanair_probe(struct usb_interface *intf,
429 const struct usb_device_id *id) 429 const struct usb_device_id *id)
430{ 430{
431 struct usb_device *udev = interface_to_usbdev(intf); 431 struct usb_device *udev = interface_to_usbdev(intf);
432 struct iguanair *ir; 432 struct iguanair *ir;
@@ -538,7 +538,7 @@ out:
538 return ret; 538 return ret;
539} 539}
540 540
541static void __devexit iguanair_disconnect(struct usb_interface *intf) 541static void iguanair_disconnect(struct usb_interface *intf)
542{ 542{
543 struct iguanair *ir = usb_get_intfdata(intf); 543 struct iguanair *ir = usb_get_intfdata(intf);
544 544
@@ -604,7 +604,7 @@ static const struct usb_device_id iguanair_table[] = {
604static struct usb_driver iguanair_driver = { 604static struct usb_driver iguanair_driver = {
605 .name = DRIVER_NAME, 605 .name = DRIVER_NAME,
606 .probe = iguanair_probe, 606 .probe = iguanair_probe,
607 .disconnect = __devexit_p(iguanair_disconnect), 607 .disconnect = iguanair_disconnect,
608 .suspend = iguanair_suspend, 608 .suspend = iguanair_suspend,
609 .resume = iguanair_resume, 609 .resume = iguanair_resume,
610 .reset_resume = iguanair_resume, 610 .reset_resume = iguanair_resume,
diff --git a/drivers/media/rc/imon.c b/drivers/media/rc/imon.c
index 8f6a28921ed4..78d109b978dd 100644
--- a/drivers/media/rc/imon.c
+++ b/drivers/media/rc/imon.c
@@ -255,7 +255,7 @@ static struct usb_device_id imon_usb_id_table[] = {
255static struct usb_driver imon_driver = { 255static struct usb_driver imon_driver = {
256 .name = MOD_NAME, 256 .name = MOD_NAME,
257 .probe = imon_probe, 257 .probe = imon_probe,
258 .disconnect = __devexit_p(imon_disconnect), 258 .disconnect = imon_disconnect,
259 .suspend = imon_suspend, 259 .suspend = imon_suspend,
260 .resume = imon_resume, 260 .resume = imon_resume,
261 .id_table = imon_usb_id_table, 261 .id_table = imon_usb_id_table,
@@ -2288,8 +2288,8 @@ static void imon_init_display(struct imon_context *ictx,
2288/** 2288/**
2289 * Callback function for USB core API: Probe 2289 * Callback function for USB core API: Probe
2290 */ 2290 */
2291static int __devinit imon_probe(struct usb_interface *interface, 2291static int imon_probe(struct usb_interface *interface,
2292 const struct usb_device_id *id) 2292 const struct usb_device_id *id)
2293{ 2293{
2294 struct usb_device *usbdev = NULL; 2294 struct usb_device *usbdev = NULL;
2295 struct usb_host_interface *iface_desc = NULL; 2295 struct usb_host_interface *iface_desc = NULL;
@@ -2372,7 +2372,7 @@ fail:
2372/** 2372/**
2373 * Callback function for USB core API: disconnect 2373 * Callback function for USB core API: disconnect
2374 */ 2374 */
2375static void __devexit imon_disconnect(struct usb_interface *interface) 2375static void imon_disconnect(struct usb_interface *interface)
2376{ 2376{
2377 struct imon_context *ictx; 2377 struct imon_context *ictx;
2378 struct device *dev; 2378 struct device *dev;
diff --git a/drivers/media/rc/ir-rx51.c b/drivers/media/rc/ir-rx51.c
index 9e76c7b40af2..8ead492d03aa 100644
--- a/drivers/media/rc/ir-rx51.c
+++ b/drivers/media/rc/ir-rx51.c
@@ -443,7 +443,7 @@ static int lirc_rx51_resume(struct platform_device *dev)
443 443
444#endif /* CONFIG_PM */ 444#endif /* CONFIG_PM */
445 445
446static int __devinit lirc_rx51_probe(struct platform_device *dev) 446static int lirc_rx51_probe(struct platform_device *dev)
447{ 447{
448 lirc_rx51_driver.features = LIRC_RX51_DRIVER_FEATURES; 448 lirc_rx51_driver.features = LIRC_RX51_DRIVER_FEATURES;
449 lirc_rx51.pdata = dev->dev.platform_data; 449 lirc_rx51.pdata = dev->dev.platform_data;
diff --git a/drivers/media/rc/ite-cir.c b/drivers/media/rc/ite-cir.c
index 5e5a7f2b8184..1b8669b6d042 100644
--- a/drivers/media/rc/ite-cir.c
+++ b/drivers/media/rc/ite-cir.c
@@ -1620,7 +1620,7 @@ failure:
1620 return ret; 1620 return ret;
1621} 1621}
1622 1622
1623static void __devexit ite_remove(struct pnp_dev *pdev) 1623static void ite_remove(struct pnp_dev *pdev)
1624{ 1624{
1625 struct ite_dev *dev = pnp_get_drvdata(pdev); 1625 struct ite_dev *dev = pnp_get_drvdata(pdev);
1626 unsigned long flags; 1626 unsigned long flags;
@@ -1702,7 +1702,7 @@ static struct pnp_driver ite_driver = {
1702 .name = ITE_DRIVER_NAME, 1702 .name = ITE_DRIVER_NAME,
1703 .id_table = ite_ids, 1703 .id_table = ite_ids,
1704 .probe = ite_probe, 1704 .probe = ite_probe,
1705 .remove = __devexit_p(ite_remove), 1705 .remove = ite_remove,
1706 .suspend = ite_suspend, 1706 .suspend = ite_suspend,
1707 .resume = ite_resume, 1707 .resume = ite_resume,
1708 .shutdown = ite_shutdown, 1708 .shutdown = ite_shutdown,
diff --git a/drivers/media/rc/mceusb.c b/drivers/media/rc/mceusb.c
index b2146cd99fd8..9afb9331217d 100644
--- a/drivers/media/rc/mceusb.c
+++ b/drivers/media/rc/mceusb.c
@@ -1229,8 +1229,8 @@ out:
1229 return NULL; 1229 return NULL;
1230} 1230}
1231 1231
1232static int __devinit mceusb_dev_probe(struct usb_interface *intf, 1232static int mceusb_dev_probe(struct usb_interface *intf,
1233 const struct usb_device_id *id) 1233 const struct usb_device_id *id)
1234{ 1234{
1235 struct usb_device *dev = interface_to_usbdev(intf); 1235 struct usb_device *dev = interface_to_usbdev(intf);
1236 struct usb_host_interface *idesc; 1236 struct usb_host_interface *idesc;
@@ -1393,7 +1393,7 @@ mem_alloc_fail:
1393} 1393}
1394 1394
1395 1395
1396static void __devexit mceusb_dev_disconnect(struct usb_interface *intf) 1396static void mceusb_dev_disconnect(struct usb_interface *intf)
1397{ 1397{
1398 struct usb_device *dev = interface_to_usbdev(intf); 1398 struct usb_device *dev = interface_to_usbdev(intf);
1399 struct mceusb_dev *ir = usb_get_intfdata(intf); 1399 struct mceusb_dev *ir = usb_get_intfdata(intf);
@@ -1432,7 +1432,7 @@ static int mceusb_dev_resume(struct usb_interface *intf)
1432static struct usb_driver mceusb_dev_driver = { 1432static struct usb_driver mceusb_dev_driver = {
1433 .name = DRIVER_NAME, 1433 .name = DRIVER_NAME,
1434 .probe = mceusb_dev_probe, 1434 .probe = mceusb_dev_probe,
1435 .disconnect = __devexit_p(mceusb_dev_disconnect), 1435 .disconnect = mceusb_dev_disconnect,
1436 .suspend = mceusb_dev_suspend, 1436 .suspend = mceusb_dev_suspend,
1437 .resume = mceusb_dev_resume, 1437 .resume = mceusb_dev_resume,
1438 .reset_resume = mceusb_dev_resume, 1438 .reset_resume = mceusb_dev_resume,
diff --git a/drivers/media/rc/nuvoton-cir.c b/drivers/media/rc/nuvoton-cir.c
index e4ea89a11eed..b8aa9abb31ff 100644
--- a/drivers/media/rc/nuvoton-cir.c
+++ b/drivers/media/rc/nuvoton-cir.c
@@ -1113,7 +1113,7 @@ failure:
1113 return ret; 1113 return ret;
1114} 1114}
1115 1115
1116static void __devexit nvt_remove(struct pnp_dev *pdev) 1116static void nvt_remove(struct pnp_dev *pdev)
1117{ 1117{
1118 struct nvt_dev *nvt = pnp_get_drvdata(pdev); 1118 struct nvt_dev *nvt = pnp_get_drvdata(pdev);
1119 unsigned long flags; 1119 unsigned long flags;
@@ -1211,7 +1211,7 @@ static struct pnp_driver nvt_driver = {
1211 .id_table = nvt_ids, 1211 .id_table = nvt_ids,
1212 .flags = PNP_DRIVER_RES_DO_NOT_CHANGE, 1212 .flags = PNP_DRIVER_RES_DO_NOT_CHANGE,
1213 .probe = nvt_probe, 1213 .probe = nvt_probe,
1214 .remove = __devexit_p(nvt_remove), 1214 .remove = nvt_remove,
1215 .suspend = nvt_suspend, 1215 .suspend = nvt_suspend,
1216 .resume = nvt_resume, 1216 .resume = nvt_resume,
1217 .shutdown = nvt_shutdown, 1217 .shutdown = nvt_shutdown,
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,
diff --git a/drivers/media/rc/streamzap.c b/drivers/media/rc/streamzap.c
index c720f12f661e..d7b11e6a9982 100644
--- a/drivers/media/rc/streamzap.c
+++ b/drivers/media/rc/streamzap.c
@@ -346,8 +346,8 @@ out:
346 * On any failure the return value is the ERROR 346 * On any failure the return value is the ERROR
347 * On success return 0 347 * On success return 0
348 */ 348 */
349static int __devinit streamzap_probe(struct usb_interface *intf, 349static int streamzap_probe(struct usb_interface *intf,
350 const struct usb_device_id *id) 350 const struct usb_device_id *id)
351{ 351{
352 struct usb_device *usbdev = interface_to_usbdev(intf); 352 struct usb_device *usbdev = interface_to_usbdev(intf);
353 struct usb_host_interface *iface_host; 353 struct usb_host_interface *iface_host;
diff --git a/drivers/media/rc/ttusbir.c b/drivers/media/rc/ttusbir.c
index f0921b5483eb..78be8a914225 100644
--- a/drivers/media/rc/ttusbir.c
+++ b/drivers/media/rc/ttusbir.c
@@ -194,8 +194,8 @@ static void ttusbir_urb_complete(struct urb *urb)
194 dev_warn(tt->dev, "failed to resubmit urb: %d\n", rc); 194 dev_warn(tt->dev, "failed to resubmit urb: %d\n", rc);
195} 195}
196 196
197static int __devinit ttusbir_probe(struct usb_interface *intf, 197static int ttusbir_probe(struct usb_interface *intf,
198 const struct usb_device_id *id) 198 const struct usb_device_id *id)
199{ 199{
200 struct ttusbir *tt; 200 struct ttusbir *tt;
201 struct usb_interface_descriptor *idesc; 201 struct usb_interface_descriptor *idesc;
@@ -367,7 +367,7 @@ out:
367 return ret; 367 return ret;
368} 368}
369 369
370static void __devexit ttusbir_disconnect(struct usb_interface *intf) 370static void ttusbir_disconnect(struct usb_interface *intf)
371{ 371{
372 struct ttusbir *tt = usb_get_intfdata(intf); 372 struct ttusbir *tt = usb_get_intfdata(intf);
373 struct usb_device *udev = tt->udev; 373 struct usb_device *udev = tt->udev;
@@ -435,7 +435,7 @@ static struct usb_driver ttusbir_driver = {
435 .suspend = ttusbir_suspend, 435 .suspend = ttusbir_suspend,
436 .resume = ttusbir_resume, 436 .resume = ttusbir_resume,
437 .reset_resume = ttusbir_resume, 437 .reset_resume = ttusbir_resume,
438 .disconnect = __devexit_p(ttusbir_disconnect) 438 .disconnect = ttusbir_disconnect,
439}; 439};
440 440
441module_usb_driver(ttusbir_driver); 441module_usb_driver(ttusbir_driver);
diff --git a/drivers/media/rc/winbond-cir.c b/drivers/media/rc/winbond-cir.c
index 7f3c476dde05..930c61499037 100644
--- a/drivers/media/rc/winbond-cir.c
+++ b/drivers/media/rc/winbond-cir.c
@@ -1008,7 +1008,7 @@ wbcir_resume(struct pnp_dev *device)
1008 return 0; 1008 return 0;
1009} 1009}
1010 1010
1011static int __devinit 1011static int
1012wbcir_probe(struct pnp_dev *device, const struct pnp_device_id *dev_id) 1012wbcir_probe(struct pnp_dev *device, const struct pnp_device_id *dev_id)
1013{ 1013{
1014 struct device *dev = &device->dev; 1014 struct device *dev = &device->dev;
@@ -1155,7 +1155,7 @@ exit:
1155 return err; 1155 return err;
1156} 1156}
1157 1157
1158static void __devexit 1158static void
1159wbcir_remove(struct pnp_dev *device) 1159wbcir_remove(struct pnp_dev *device)
1160{ 1160{
1161 struct wbcir_data *data = pnp_get_drvdata(device); 1161 struct wbcir_data *data = pnp_get_drvdata(device);
@@ -1201,7 +1201,7 @@ static struct pnp_driver wbcir_driver = {
1201 .name = WBCIR_NAME, 1201 .name = WBCIR_NAME,
1202 .id_table = wbcir_ids, 1202 .id_table = wbcir_ids,
1203 .probe = wbcir_probe, 1203 .probe = wbcir_probe,
1204 .remove = __devexit_p(wbcir_remove), 1204 .remove = wbcir_remove,
1205 .suspend = wbcir_suspend, 1205 .suspend = wbcir_suspend,
1206 .resume = wbcir_resume, 1206 .resume = wbcir_resume,
1207 .shutdown = wbcir_shutdown 1207 .shutdown = wbcir_shutdown