diff options
Diffstat (limited to 'drivers/tty')
44 files changed, 70 insertions, 70 deletions
diff --git a/drivers/tty/serial/8250/8250.c b/drivers/tty/serial/8250/8250.c index 5ccbd90540cf..870c5f2d0c8f 100644 --- a/drivers/tty/serial/8250/8250.c +++ b/drivers/tty/serial/8250/8250.c | |||
@@ -3078,7 +3078,7 @@ static int serial8250_resume(struct platform_device *dev) | |||
3078 | 3078 | ||
3079 | static struct platform_driver serial8250_isa_driver = { | 3079 | static struct platform_driver serial8250_isa_driver = { |
3080 | .probe = serial8250_probe, | 3080 | .probe = serial8250_probe, |
3081 | .remove = __devexit_p(serial8250_remove), | 3081 | .remove = serial8250_remove, |
3082 | .suspend = serial8250_suspend, | 3082 | .suspend = serial8250_suspend, |
3083 | .resume = serial8250_resume, | 3083 | .resume = serial8250_resume, |
3084 | .driver = { | 3084 | .driver = { |
diff --git a/drivers/tty/serial/8250/8250_acorn.c b/drivers/tty/serial/8250/8250_acorn.c index 857498312a9a..b5e4b494cb07 100644 --- a/drivers/tty/serial/8250/8250_acorn.c +++ b/drivers/tty/serial/8250/8250_acorn.c | |||
@@ -116,7 +116,7 @@ static const struct ecard_id serial_cids[] = { | |||
116 | 116 | ||
117 | static struct ecard_driver serial_card_driver = { | 117 | static struct ecard_driver serial_card_driver = { |
118 | .probe = serial_card_probe, | 118 | .probe = serial_card_probe, |
119 | .remove = __devexit_p(serial_card_remove), | 119 | .remove = serial_card_remove, |
120 | .id_table = serial_cids, | 120 | .id_table = serial_cids, |
121 | .drv = { | 121 | .drv = { |
122 | .name = "8250_acorn", | 122 | .name = "8250_acorn", |
diff --git a/drivers/tty/serial/8250/8250_dw.c b/drivers/tty/serial/8250/8250_dw.c index b19b8c547801..2db80d03b0ba 100644 --- a/drivers/tty/serial/8250/8250_dw.c +++ b/drivers/tty/serial/8250/8250_dw.c | |||
@@ -197,7 +197,7 @@ static struct platform_driver dw8250_platform_driver = { | |||
197 | .of_match_table = dw8250_match, | 197 | .of_match_table = dw8250_match, |
198 | }, | 198 | }, |
199 | .probe = dw8250_probe, | 199 | .probe = dw8250_probe, |
200 | .remove = __devexit_p(dw8250_remove), | 200 | .remove = dw8250_remove, |
201 | .suspend = dw8250_suspend, | 201 | .suspend = dw8250_suspend, |
202 | .resume = dw8250_resume, | 202 | .resume = dw8250_resume, |
203 | }; | 203 | }; |
diff --git a/drivers/tty/serial/8250/8250_em.c b/drivers/tty/serial/8250/8250_em.c index 3a0363e7f3a7..80c0a626c13e 100644 --- a/drivers/tty/serial/8250/8250_em.c +++ b/drivers/tty/serial/8250/8250_em.c | |||
@@ -176,7 +176,7 @@ static struct platform_driver serial8250_em_platform_driver = { | |||
176 | .owner = THIS_MODULE, | 176 | .owner = THIS_MODULE, |
177 | }, | 177 | }, |
178 | .probe = serial8250_em_probe, | 178 | .probe = serial8250_em_probe, |
179 | .remove = __devexit_p(serial8250_em_remove), | 179 | .remove = serial8250_em_remove, |
180 | }; | 180 | }; |
181 | 181 | ||
182 | module_platform_driver(serial8250_em_platform_driver); | 182 | module_platform_driver(serial8250_em_platform_driver); |
diff --git a/drivers/tty/serial/8250/8250_hp300.c b/drivers/tty/serial/8250/8250_hp300.c index f3d0edf46644..89e88559f489 100644 --- a/drivers/tty/serial/8250/8250_hp300.c +++ b/drivers/tty/serial/8250/8250_hp300.c | |||
@@ -52,7 +52,7 @@ static struct dio_driver hpdca_driver = { | |||
52 | .name = "hpdca", | 52 | .name = "hpdca", |
53 | .id_table = hpdca_dio_tbl, | 53 | .id_table = hpdca_dio_tbl, |
54 | .probe = hpdca_init_one, | 54 | .probe = hpdca_init_one, |
55 | .remove = __devexit_p(hpdca_remove_one), | 55 | .remove = hpdca_remove_one, |
56 | }; | 56 | }; |
57 | 57 | ||
58 | #endif | 58 | #endif |
diff --git a/drivers/tty/serial/8250/8250_pci.c b/drivers/tty/serial/8250/8250_pci.c index 508063b2a4b8..c049cfa06f55 100644 --- a/drivers/tty/serial/8250/8250_pci.c +++ b/drivers/tty/serial/8250/8250_pci.c | |||
@@ -1314,7 +1314,7 @@ static struct pci_serial_quirk pci_serial_quirks[] __refdata = { | |||
1314 | .subdevice = PCI_ANY_ID, | 1314 | .subdevice = PCI_ANY_ID, |
1315 | .init = pci_ite887x_init, | 1315 | .init = pci_ite887x_init, |
1316 | .setup = pci_default_setup, | 1316 | .setup = pci_default_setup, |
1317 | .exit = __devexit_p(pci_ite887x_exit), | 1317 | .exit = pci_ite887x_exit, |
1318 | }, | 1318 | }, |
1319 | /* | 1319 | /* |
1320 | * National Instruments | 1320 | * National Instruments |
@@ -1326,7 +1326,7 @@ static struct pci_serial_quirk pci_serial_quirks[] __refdata = { | |||
1326 | .subdevice = PCI_ANY_ID, | 1326 | .subdevice = PCI_ANY_ID, |
1327 | .init = pci_ni8420_init, | 1327 | .init = pci_ni8420_init, |
1328 | .setup = pci_default_setup, | 1328 | .setup = pci_default_setup, |
1329 | .exit = __devexit_p(pci_ni8420_exit), | 1329 | .exit = pci_ni8420_exit, |
1330 | }, | 1330 | }, |
1331 | { | 1331 | { |
1332 | .vendor = PCI_VENDOR_ID_NI, | 1332 | .vendor = PCI_VENDOR_ID_NI, |
@@ -1335,7 +1335,7 @@ static struct pci_serial_quirk pci_serial_quirks[] __refdata = { | |||
1335 | .subdevice = PCI_ANY_ID, | 1335 | .subdevice = PCI_ANY_ID, |
1336 | .init = pci_ni8420_init, | 1336 | .init = pci_ni8420_init, |
1337 | .setup = pci_default_setup, | 1337 | .setup = pci_default_setup, |
1338 | .exit = __devexit_p(pci_ni8420_exit), | 1338 | .exit = pci_ni8420_exit, |
1339 | }, | 1339 | }, |
1340 | { | 1340 | { |
1341 | .vendor = PCI_VENDOR_ID_NI, | 1341 | .vendor = PCI_VENDOR_ID_NI, |
@@ -1344,7 +1344,7 @@ static struct pci_serial_quirk pci_serial_quirks[] __refdata = { | |||
1344 | .subdevice = PCI_ANY_ID, | 1344 | .subdevice = PCI_ANY_ID, |
1345 | .init = pci_ni8420_init, | 1345 | .init = pci_ni8420_init, |
1346 | .setup = pci_default_setup, | 1346 | .setup = pci_default_setup, |
1347 | .exit = __devexit_p(pci_ni8420_exit), | 1347 | .exit = pci_ni8420_exit, |
1348 | }, | 1348 | }, |
1349 | { | 1349 | { |
1350 | .vendor = PCI_VENDOR_ID_NI, | 1350 | .vendor = PCI_VENDOR_ID_NI, |
@@ -1353,7 +1353,7 @@ static struct pci_serial_quirk pci_serial_quirks[] __refdata = { | |||
1353 | .subdevice = PCI_ANY_ID, | 1353 | .subdevice = PCI_ANY_ID, |
1354 | .init = pci_ni8420_init, | 1354 | .init = pci_ni8420_init, |
1355 | .setup = pci_default_setup, | 1355 | .setup = pci_default_setup, |
1356 | .exit = __devexit_p(pci_ni8420_exit), | 1356 | .exit = pci_ni8420_exit, |
1357 | }, | 1357 | }, |
1358 | { | 1358 | { |
1359 | .vendor = PCI_VENDOR_ID_NI, | 1359 | .vendor = PCI_VENDOR_ID_NI, |
@@ -1362,7 +1362,7 @@ static struct pci_serial_quirk pci_serial_quirks[] __refdata = { | |||
1362 | .subdevice = PCI_ANY_ID, | 1362 | .subdevice = PCI_ANY_ID, |
1363 | .init = pci_ni8420_init, | 1363 | .init = pci_ni8420_init, |
1364 | .setup = pci_default_setup, | 1364 | .setup = pci_default_setup, |
1365 | .exit = __devexit_p(pci_ni8420_exit), | 1365 | .exit = pci_ni8420_exit, |
1366 | }, | 1366 | }, |
1367 | { | 1367 | { |
1368 | .vendor = PCI_VENDOR_ID_NI, | 1368 | .vendor = PCI_VENDOR_ID_NI, |
@@ -1371,7 +1371,7 @@ static struct pci_serial_quirk pci_serial_quirks[] __refdata = { | |||
1371 | .subdevice = PCI_ANY_ID, | 1371 | .subdevice = PCI_ANY_ID, |
1372 | .init = pci_ni8420_init, | 1372 | .init = pci_ni8420_init, |
1373 | .setup = pci_default_setup, | 1373 | .setup = pci_default_setup, |
1374 | .exit = __devexit_p(pci_ni8420_exit), | 1374 | .exit = pci_ni8420_exit, |
1375 | }, | 1375 | }, |
1376 | { | 1376 | { |
1377 | .vendor = PCI_VENDOR_ID_NI, | 1377 | .vendor = PCI_VENDOR_ID_NI, |
@@ -1380,7 +1380,7 @@ static struct pci_serial_quirk pci_serial_quirks[] __refdata = { | |||
1380 | .subdevice = PCI_ANY_ID, | 1380 | .subdevice = PCI_ANY_ID, |
1381 | .init = pci_ni8420_init, | 1381 | .init = pci_ni8420_init, |
1382 | .setup = pci_default_setup, | 1382 | .setup = pci_default_setup, |
1383 | .exit = __devexit_p(pci_ni8420_exit), | 1383 | .exit = pci_ni8420_exit, |
1384 | }, | 1384 | }, |
1385 | { | 1385 | { |
1386 | .vendor = PCI_VENDOR_ID_NI, | 1386 | .vendor = PCI_VENDOR_ID_NI, |
@@ -1389,7 +1389,7 @@ static struct pci_serial_quirk pci_serial_quirks[] __refdata = { | |||
1389 | .subdevice = PCI_ANY_ID, | 1389 | .subdevice = PCI_ANY_ID, |
1390 | .init = pci_ni8420_init, | 1390 | .init = pci_ni8420_init, |
1391 | .setup = pci_default_setup, | 1391 | .setup = pci_default_setup, |
1392 | .exit = __devexit_p(pci_ni8420_exit), | 1392 | .exit = pci_ni8420_exit, |
1393 | }, | 1393 | }, |
1394 | { | 1394 | { |
1395 | .vendor = PCI_VENDOR_ID_NI, | 1395 | .vendor = PCI_VENDOR_ID_NI, |
@@ -1398,7 +1398,7 @@ static struct pci_serial_quirk pci_serial_quirks[] __refdata = { | |||
1398 | .subdevice = PCI_ANY_ID, | 1398 | .subdevice = PCI_ANY_ID, |
1399 | .init = pci_ni8420_init, | 1399 | .init = pci_ni8420_init, |
1400 | .setup = pci_default_setup, | 1400 | .setup = pci_default_setup, |
1401 | .exit = __devexit_p(pci_ni8420_exit), | 1401 | .exit = pci_ni8420_exit, |
1402 | }, | 1402 | }, |
1403 | { | 1403 | { |
1404 | .vendor = PCI_VENDOR_ID_NI, | 1404 | .vendor = PCI_VENDOR_ID_NI, |
@@ -1407,7 +1407,7 @@ static struct pci_serial_quirk pci_serial_quirks[] __refdata = { | |||
1407 | .subdevice = PCI_ANY_ID, | 1407 | .subdevice = PCI_ANY_ID, |
1408 | .init = pci_ni8420_init, | 1408 | .init = pci_ni8420_init, |
1409 | .setup = pci_default_setup, | 1409 | .setup = pci_default_setup, |
1410 | .exit = __devexit_p(pci_ni8420_exit), | 1410 | .exit = pci_ni8420_exit, |
1411 | }, | 1411 | }, |
1412 | { | 1412 | { |
1413 | .vendor = PCI_VENDOR_ID_NI, | 1413 | .vendor = PCI_VENDOR_ID_NI, |
@@ -1416,7 +1416,7 @@ static struct pci_serial_quirk pci_serial_quirks[] __refdata = { | |||
1416 | .subdevice = PCI_ANY_ID, | 1416 | .subdevice = PCI_ANY_ID, |
1417 | .init = pci_ni8420_init, | 1417 | .init = pci_ni8420_init, |
1418 | .setup = pci_default_setup, | 1418 | .setup = pci_default_setup, |
1419 | .exit = __devexit_p(pci_ni8420_exit), | 1419 | .exit = pci_ni8420_exit, |
1420 | }, | 1420 | }, |
1421 | { | 1421 | { |
1422 | .vendor = PCI_VENDOR_ID_NI, | 1422 | .vendor = PCI_VENDOR_ID_NI, |
@@ -1425,7 +1425,7 @@ static struct pci_serial_quirk pci_serial_quirks[] __refdata = { | |||
1425 | .subdevice = PCI_ANY_ID, | 1425 | .subdevice = PCI_ANY_ID, |
1426 | .init = pci_ni8420_init, | 1426 | .init = pci_ni8420_init, |
1427 | .setup = pci_default_setup, | 1427 | .setup = pci_default_setup, |
1428 | .exit = __devexit_p(pci_ni8420_exit), | 1428 | .exit = pci_ni8420_exit, |
1429 | }, | 1429 | }, |
1430 | { | 1430 | { |
1431 | .vendor = PCI_VENDOR_ID_NI, | 1431 | .vendor = PCI_VENDOR_ID_NI, |
@@ -1434,7 +1434,7 @@ static struct pci_serial_quirk pci_serial_quirks[] __refdata = { | |||
1434 | .subdevice = PCI_ANY_ID, | 1434 | .subdevice = PCI_ANY_ID, |
1435 | .init = pci_ni8430_init, | 1435 | .init = pci_ni8430_init, |
1436 | .setup = pci_ni8430_setup, | 1436 | .setup = pci_ni8430_setup, |
1437 | .exit = __devexit_p(pci_ni8430_exit), | 1437 | .exit = pci_ni8430_exit, |
1438 | }, | 1438 | }, |
1439 | /* | 1439 | /* |
1440 | * Panacom | 1440 | * Panacom |
@@ -1446,7 +1446,7 @@ static struct pci_serial_quirk pci_serial_quirks[] __refdata = { | |||
1446 | .subdevice = PCI_ANY_ID, | 1446 | .subdevice = PCI_ANY_ID, |
1447 | .init = pci_plx9050_init, | 1447 | .init = pci_plx9050_init, |
1448 | .setup = pci_default_setup, | 1448 | .setup = pci_default_setup, |
1449 | .exit = __devexit_p(pci_plx9050_exit), | 1449 | .exit = pci_plx9050_exit, |
1450 | }, | 1450 | }, |
1451 | { | 1451 | { |
1452 | .vendor = PCI_VENDOR_ID_PANACOM, | 1452 | .vendor = PCI_VENDOR_ID_PANACOM, |
@@ -1455,7 +1455,7 @@ static struct pci_serial_quirk pci_serial_quirks[] __refdata = { | |||
1455 | .subdevice = PCI_ANY_ID, | 1455 | .subdevice = PCI_ANY_ID, |
1456 | .init = pci_plx9050_init, | 1456 | .init = pci_plx9050_init, |
1457 | .setup = pci_default_setup, | 1457 | .setup = pci_default_setup, |
1458 | .exit = __devexit_p(pci_plx9050_exit), | 1458 | .exit = pci_plx9050_exit, |
1459 | }, | 1459 | }, |
1460 | /* | 1460 | /* |
1461 | * PLX | 1461 | * PLX |
@@ -1474,7 +1474,7 @@ static struct pci_serial_quirk pci_serial_quirks[] __refdata = { | |||
1474 | .subdevice = PCI_SUBDEVICE_ID_EXSYS_4055, | 1474 | .subdevice = PCI_SUBDEVICE_ID_EXSYS_4055, |
1475 | .init = pci_plx9050_init, | 1475 | .init = pci_plx9050_init, |
1476 | .setup = pci_default_setup, | 1476 | .setup = pci_default_setup, |
1477 | .exit = __devexit_p(pci_plx9050_exit), | 1477 | .exit = pci_plx9050_exit, |
1478 | }, | 1478 | }, |
1479 | { | 1479 | { |
1480 | .vendor = PCI_VENDOR_ID_PLX, | 1480 | .vendor = PCI_VENDOR_ID_PLX, |
@@ -1483,7 +1483,7 @@ static struct pci_serial_quirk pci_serial_quirks[] __refdata = { | |||
1483 | .subdevice = PCI_SUBDEVICE_ID_KEYSPAN_SX2, | 1483 | .subdevice = PCI_SUBDEVICE_ID_KEYSPAN_SX2, |
1484 | .init = pci_plx9050_init, | 1484 | .init = pci_plx9050_init, |
1485 | .setup = pci_default_setup, | 1485 | .setup = pci_default_setup, |
1486 | .exit = __devexit_p(pci_plx9050_exit), | 1486 | .exit = pci_plx9050_exit, |
1487 | }, | 1487 | }, |
1488 | { | 1488 | { |
1489 | .vendor = PCI_VENDOR_ID_PLX, | 1489 | .vendor = PCI_VENDOR_ID_PLX, |
@@ -1492,7 +1492,7 @@ static struct pci_serial_quirk pci_serial_quirks[] __refdata = { | |||
1492 | .subdevice = PCI_SUBDEVICE_ID_UNKNOWN_0x1584, | 1492 | .subdevice = PCI_SUBDEVICE_ID_UNKNOWN_0x1584, |
1493 | .init = pci_plx9050_init, | 1493 | .init = pci_plx9050_init, |
1494 | .setup = pci_default_setup, | 1494 | .setup = pci_default_setup, |
1495 | .exit = __devexit_p(pci_plx9050_exit), | 1495 | .exit = pci_plx9050_exit, |
1496 | }, | 1496 | }, |
1497 | { | 1497 | { |
1498 | .vendor = PCI_VENDOR_ID_PLX, | 1498 | .vendor = PCI_VENDOR_ID_PLX, |
@@ -1501,7 +1501,7 @@ static struct pci_serial_quirk pci_serial_quirks[] __refdata = { | |||
1501 | .subdevice = PCI_DEVICE_ID_PLX_ROMULUS, | 1501 | .subdevice = PCI_DEVICE_ID_PLX_ROMULUS, |
1502 | .init = pci_plx9050_init, | 1502 | .init = pci_plx9050_init, |
1503 | .setup = pci_default_setup, | 1503 | .setup = pci_default_setup, |
1504 | .exit = __devexit_p(pci_plx9050_exit), | 1504 | .exit = pci_plx9050_exit, |
1505 | }, | 1505 | }, |
1506 | /* | 1506 | /* |
1507 | * SBS Technologies, Inc., PMC-OCTALPRO 232 | 1507 | * SBS Technologies, Inc., PMC-OCTALPRO 232 |
@@ -1513,7 +1513,7 @@ static struct pci_serial_quirk pci_serial_quirks[] __refdata = { | |||
1513 | .subdevice = PCI_SUBDEVICE_ID_OCTPRO232, | 1513 | .subdevice = PCI_SUBDEVICE_ID_OCTPRO232, |
1514 | .init = sbs_init, | 1514 | .init = sbs_init, |
1515 | .setup = sbs_setup, | 1515 | .setup = sbs_setup, |
1516 | .exit = __devexit_p(sbs_exit), | 1516 | .exit = sbs_exit, |
1517 | }, | 1517 | }, |
1518 | /* | 1518 | /* |
1519 | * SBS Technologies, Inc., PMC-OCTALPRO 422 | 1519 | * SBS Technologies, Inc., PMC-OCTALPRO 422 |
@@ -1525,7 +1525,7 @@ static struct pci_serial_quirk pci_serial_quirks[] __refdata = { | |||
1525 | .subdevice = PCI_SUBDEVICE_ID_OCTPRO422, | 1525 | .subdevice = PCI_SUBDEVICE_ID_OCTPRO422, |
1526 | .init = sbs_init, | 1526 | .init = sbs_init, |
1527 | .setup = sbs_setup, | 1527 | .setup = sbs_setup, |
1528 | .exit = __devexit_p(sbs_exit), | 1528 | .exit = sbs_exit, |
1529 | }, | 1529 | }, |
1530 | /* | 1530 | /* |
1531 | * SBS Technologies, Inc., P-Octal 232 | 1531 | * SBS Technologies, Inc., P-Octal 232 |
@@ -1537,7 +1537,7 @@ static struct pci_serial_quirk pci_serial_quirks[] __refdata = { | |||
1537 | .subdevice = PCI_SUBDEVICE_ID_POCTAL232, | 1537 | .subdevice = PCI_SUBDEVICE_ID_POCTAL232, |
1538 | .init = sbs_init, | 1538 | .init = sbs_init, |
1539 | .setup = sbs_setup, | 1539 | .setup = sbs_setup, |
1540 | .exit = __devexit_p(sbs_exit), | 1540 | .exit = sbs_exit, |
1541 | }, | 1541 | }, |
1542 | /* | 1542 | /* |
1543 | * SBS Technologies, Inc., P-Octal 422 | 1543 | * SBS Technologies, Inc., P-Octal 422 |
@@ -1549,7 +1549,7 @@ static struct pci_serial_quirk pci_serial_quirks[] __refdata = { | |||
1549 | .subdevice = PCI_SUBDEVICE_ID_POCTAL422, | 1549 | .subdevice = PCI_SUBDEVICE_ID_POCTAL422, |
1550 | .init = sbs_init, | 1550 | .init = sbs_init, |
1551 | .setup = sbs_setup, | 1551 | .setup = sbs_setup, |
1552 | .exit = __devexit_p(sbs_exit), | 1552 | .exit = sbs_exit, |
1553 | }, | 1553 | }, |
1554 | /* | 1554 | /* |
1555 | * SIIG cards - these may be called via parport_serial | 1555 | * SIIG cards - these may be called via parport_serial |
@@ -4323,7 +4323,7 @@ static const struct pci_error_handlers serial8250_err_handler = { | |||
4323 | static struct pci_driver serial_pci_driver = { | 4323 | static struct pci_driver serial_pci_driver = { |
4324 | .name = "serial", | 4324 | .name = "serial", |
4325 | .probe = pciserial_init_one, | 4325 | .probe = pciserial_init_one, |
4326 | .remove = __devexit_p(pciserial_remove_one), | 4326 | .remove = pciserial_remove_one, |
4327 | #ifdef CONFIG_PM | 4327 | #ifdef CONFIG_PM |
4328 | .suspend = pciserial_suspend_one, | 4328 | .suspend = pciserial_suspend_one, |
4329 | .resume = pciserial_resume_one, | 4329 | .resume = pciserial_resume_one, |
diff --git a/drivers/tty/serial/8250/8250_pnp.c b/drivers/tty/serial/8250/8250_pnp.c index f8ee25001dd0..e566220f187d 100644 --- a/drivers/tty/serial/8250/8250_pnp.c +++ b/drivers/tty/serial/8250/8250_pnp.c | |||
@@ -511,7 +511,7 @@ static int serial_pnp_resume(struct pnp_dev *dev) | |||
511 | static struct pnp_driver serial_pnp_driver = { | 511 | static struct pnp_driver serial_pnp_driver = { |
512 | .name = "serial", | 512 | .name = "serial", |
513 | .probe = serial_pnp_probe, | 513 | .probe = serial_pnp_probe, |
514 | .remove = __devexit_p(serial_pnp_remove), | 514 | .remove = serial_pnp_remove, |
515 | .suspend = serial_pnp_suspend, | 515 | .suspend = serial_pnp_suspend, |
516 | .resume = serial_pnp_resume, | 516 | .resume = serial_pnp_resume, |
517 | .id_table = pnp_dev_table, | 517 | .id_table = pnp_dev_table, |
diff --git a/drivers/tty/serial/altera_jtaguart.c b/drivers/tty/serial/altera_jtaguart.c index 530181e49f6b..ef16b0aa383a 100644 --- a/drivers/tty/serial/altera_jtaguart.c +++ b/drivers/tty/serial/altera_jtaguart.c | |||
@@ -477,7 +477,7 @@ MODULE_DEVICE_TABLE(of, altera_jtaguart_match); | |||
477 | 477 | ||
478 | static struct platform_driver altera_jtaguart_platform_driver = { | 478 | static struct platform_driver altera_jtaguart_platform_driver = { |
479 | .probe = altera_jtaguart_probe, | 479 | .probe = altera_jtaguart_probe, |
480 | .remove = __devexit_p(altera_jtaguart_remove), | 480 | .remove = altera_jtaguart_remove, |
481 | .driver = { | 481 | .driver = { |
482 | .name = DRV_NAME, | 482 | .name = DRV_NAME, |
483 | .owner = THIS_MODULE, | 483 | .owner = THIS_MODULE, |
diff --git a/drivers/tty/serial/altera_uart.c b/drivers/tty/serial/altera_uart.c index 15d80b9fb303..117ea2c89630 100644 --- a/drivers/tty/serial/altera_uart.c +++ b/drivers/tty/serial/altera_uart.c | |||
@@ -621,7 +621,7 @@ MODULE_DEVICE_TABLE(of, altera_uart_match); | |||
621 | 621 | ||
622 | static struct platform_driver altera_uart_platform_driver = { | 622 | static struct platform_driver altera_uart_platform_driver = { |
623 | .probe = altera_uart_probe, | 623 | .probe = altera_uart_probe, |
624 | .remove = __devexit_p(altera_uart_remove), | 624 | .remove = altera_uart_remove, |
625 | .driver = { | 625 | .driver = { |
626 | .name = DRV_NAME, | 626 | .name = DRV_NAME, |
627 | .owner = THIS_MODULE, | 627 | .owner = THIS_MODULE, |
diff --git a/drivers/tty/serial/ar933x_uart.c b/drivers/tty/serial/ar933x_uart.c index 0f5b28afc2ad..77115448af5f 100644 --- a/drivers/tty/serial/ar933x_uart.c +++ b/drivers/tty/serial/ar933x_uart.c | |||
@@ -725,7 +725,7 @@ static int __devexit ar933x_uart_remove(struct platform_device *pdev) | |||
725 | 725 | ||
726 | static struct platform_driver ar933x_uart_platform_driver = { | 726 | static struct platform_driver ar933x_uart_platform_driver = { |
727 | .probe = ar933x_uart_probe, | 727 | .probe = ar933x_uart_probe, |
728 | .remove = __devexit_p(ar933x_uart_remove), | 728 | .remove = ar933x_uart_remove, |
729 | .driver = { | 729 | .driver = { |
730 | .name = DRIVER_NAME, | 730 | .name = DRIVER_NAME, |
731 | .owner = THIS_MODULE, | 731 | .owner = THIS_MODULE, |
diff --git a/drivers/tty/serial/arc_uart.c b/drivers/tty/serial/arc_uart.c index e9c61d1b1c79..d6525698db31 100644 --- a/drivers/tty/serial/arc_uart.c +++ b/drivers/tty/serial/arc_uart.c | |||
@@ -697,7 +697,7 @@ static int __devexit arc_serial_remove(struct platform_device *pdev) | |||
697 | 697 | ||
698 | static struct platform_driver arc_platform_driver = { | 698 | static struct platform_driver arc_platform_driver = { |
699 | .probe = arc_serial_probe, | 699 | .probe = arc_serial_probe, |
700 | .remove = __devexit_p(arc_serial_remove), | 700 | .remove = arc_serial_remove, |
701 | .driver = { | 701 | .driver = { |
702 | .name = DRIVER_NAME, | 702 | .name = DRIVER_NAME, |
703 | .owner = THIS_MODULE, | 703 | .owner = THIS_MODULE, |
diff --git a/drivers/tty/serial/atmel_serial.c b/drivers/tty/serial/atmel_serial.c index 3d7e1ee2fa57..27eae4b2355a 100644 --- a/drivers/tty/serial/atmel_serial.c +++ b/drivers/tty/serial/atmel_serial.c | |||
@@ -1876,7 +1876,7 @@ static int __devexit atmel_serial_remove(struct platform_device *pdev) | |||
1876 | 1876 | ||
1877 | static struct platform_driver atmel_serial_driver = { | 1877 | static struct platform_driver atmel_serial_driver = { |
1878 | .probe = atmel_serial_probe, | 1878 | .probe = atmel_serial_probe, |
1879 | .remove = __devexit_p(atmel_serial_remove), | 1879 | .remove = atmel_serial_remove, |
1880 | .suspend = atmel_serial_suspend, | 1880 | .suspend = atmel_serial_suspend, |
1881 | .resume = atmel_serial_resume, | 1881 | .resume = atmel_serial_resume, |
1882 | .driver = { | 1882 | .driver = { |
diff --git a/drivers/tty/serial/bcm63xx_uart.c b/drivers/tty/serial/bcm63xx_uart.c index c0b68b9cad91..7f631d4a5c44 100644 --- a/drivers/tty/serial/bcm63xx_uart.c +++ b/drivers/tty/serial/bcm63xx_uart.c | |||
@@ -865,7 +865,7 @@ static int __devexit bcm_uart_remove(struct platform_device *pdev) | |||
865 | */ | 865 | */ |
866 | static struct platform_driver bcm_uart_platform_driver = { | 866 | static struct platform_driver bcm_uart_platform_driver = { |
867 | .probe = bcm_uart_probe, | 867 | .probe = bcm_uart_probe, |
868 | .remove = __devexit_p(bcm_uart_remove), | 868 | .remove = bcm_uart_remove, |
869 | .driver = { | 869 | .driver = { |
870 | .owner = THIS_MODULE, | 870 | .owner = THIS_MODULE, |
871 | .name = "bcm63xx_uart", | 871 | .name = "bcm63xx_uart", |
diff --git a/drivers/tty/serial/bfin_sport_uart.c b/drivers/tty/serial/bfin_sport_uart.c index 7fbc3a08f10d..b4a18c7ffdf7 100644 --- a/drivers/tty/serial/bfin_sport_uart.c +++ b/drivers/tty/serial/bfin_sport_uart.c | |||
@@ -871,7 +871,7 @@ static int __devexit sport_uart_remove(struct platform_device *pdev) | |||
871 | 871 | ||
872 | static struct platform_driver sport_uart_driver = { | 872 | static struct platform_driver sport_uart_driver = { |
873 | .probe = sport_uart_probe, | 873 | .probe = sport_uart_probe, |
874 | .remove = __devexit_p(sport_uart_remove), | 874 | .remove = sport_uart_remove, |
875 | .driver = { | 875 | .driver = { |
876 | .name = DRV_NAME, | 876 | .name = DRV_NAME, |
877 | #ifdef CONFIG_PM | 877 | #ifdef CONFIG_PM |
diff --git a/drivers/tty/serial/bfin_uart.c b/drivers/tty/serial/bfin_uart.c index ca64c4a83ce0..f1f8210a6130 100644 --- a/drivers/tty/serial/bfin_uart.c +++ b/drivers/tty/serial/bfin_uart.c | |||
@@ -1409,7 +1409,7 @@ static int __devexit bfin_serial_remove(struct platform_device *pdev) | |||
1409 | 1409 | ||
1410 | static struct platform_driver bfin_serial_driver = { | 1410 | static struct platform_driver bfin_serial_driver = { |
1411 | .probe = bfin_serial_probe, | 1411 | .probe = bfin_serial_probe, |
1412 | .remove = __devexit_p(bfin_serial_remove), | 1412 | .remove = bfin_serial_remove, |
1413 | .suspend = bfin_serial_suspend, | 1413 | .suspend = bfin_serial_suspend, |
1414 | .resume = bfin_serial_resume, | 1414 | .resume = bfin_serial_resume, |
1415 | .driver = { | 1415 | .driver = { |
diff --git a/drivers/tty/serial/clps711x.c b/drivers/tty/serial/clps711x.c index a0a6db5c32fe..d631ef52f4f8 100644 --- a/drivers/tty/serial/clps711x.c +++ b/drivers/tty/serial/clps711x.c | |||
@@ -512,7 +512,7 @@ static struct platform_driver clps711x_uart_driver = { | |||
512 | .owner = THIS_MODULE, | 512 | .owner = THIS_MODULE, |
513 | }, | 513 | }, |
514 | .probe = uart_clps711x_probe, | 514 | .probe = uart_clps711x_probe, |
515 | .remove = __devexit_p(uart_clps711x_remove), | 515 | .remove = uart_clps711x_remove, |
516 | }; | 516 | }; |
517 | module_platform_driver(clps711x_uart_driver); | 517 | module_platform_driver(clps711x_uart_driver); |
518 | 518 | ||
diff --git a/drivers/tty/serial/efm32-uart.c b/drivers/tty/serial/efm32-uart.c index 615e46470491..1e8bacf95b70 100644 --- a/drivers/tty/serial/efm32-uart.c +++ b/drivers/tty/serial/efm32-uart.c | |||
@@ -791,7 +791,7 @@ MODULE_DEVICE_TABLE(of, efm32_uart_dt_ids); | |||
791 | 791 | ||
792 | static struct platform_driver efm32_uart_driver = { | 792 | static struct platform_driver efm32_uart_driver = { |
793 | .probe = efm32_uart_probe, | 793 | .probe = efm32_uart_probe, |
794 | .remove = __devexit_p(efm32_uart_remove), | 794 | .remove = efm32_uart_remove, |
795 | 795 | ||
796 | .driver = { | 796 | .driver = { |
797 | .name = DRIVER_NAME, | 797 | .name = DRIVER_NAME, |
diff --git a/drivers/tty/serial/icom.c b/drivers/tty/serial/icom.c index defc4e3393a3..f0fc2fff1701 100644 --- a/drivers/tty/serial/icom.c +++ b/drivers/tty/serial/icom.c | |||
@@ -1617,7 +1617,7 @@ static struct pci_driver icom_pci_driver = { | |||
1617 | .name = ICOM_DRIVER_NAME, | 1617 | .name = ICOM_DRIVER_NAME, |
1618 | .id_table = icom_pci_table, | 1618 | .id_table = icom_pci_table, |
1619 | .probe = icom_probe, | 1619 | .probe = icom_probe, |
1620 | .remove = __devexit_p(icom_remove), | 1620 | .remove = icom_remove, |
1621 | }; | 1621 | }; |
1622 | 1622 | ||
1623 | static int __init icom_init(void) | 1623 | static int __init icom_init(void) |
diff --git a/drivers/tty/serial/ifx6x60.c b/drivers/tty/serial/ifx6x60.c index 91125bb151cf..2783d96ff610 100644 --- a/drivers/tty/serial/ifx6x60.c +++ b/drivers/tty/serial/ifx6x60.c | |||
@@ -1405,7 +1405,7 @@ static struct spi_driver ifx_spi_driver = { | |||
1405 | .owner = THIS_MODULE}, | 1405 | .owner = THIS_MODULE}, |
1406 | .probe = ifx_spi_spi_probe, | 1406 | .probe = ifx_spi_spi_probe, |
1407 | .shutdown = ifx_spi_spi_shutdown, | 1407 | .shutdown = ifx_spi_spi_shutdown, |
1408 | .remove = __devexit_p(ifx_spi_spi_remove), | 1408 | .remove = ifx_spi_spi_remove, |
1409 | .suspend = ifx_spi_spi_suspend, | 1409 | .suspend = ifx_spi_spi_suspend, |
1410 | .resume = ifx_spi_spi_resume, | 1410 | .resume = ifx_spi_spi_resume, |
1411 | .id_table = ifx_id_table | 1411 | .id_table = ifx_id_table |
diff --git a/drivers/tty/serial/jsm/jsm_driver.c b/drivers/tty/serial/jsm/jsm_driver.c index 8e05ce94bd46..bbd459226ee0 100644 --- a/drivers/tty/serial/jsm/jsm_driver.c +++ b/drivers/tty/serial/jsm/jsm_driver.c | |||
@@ -217,7 +217,7 @@ static struct pci_driver jsm_driver = { | |||
217 | .name = "jsm", | 217 | .name = "jsm", |
218 | .id_table = jsm_pci_tbl, | 218 | .id_table = jsm_pci_tbl, |
219 | .probe = jsm_probe_one, | 219 | .probe = jsm_probe_one, |
220 | .remove = __devexit_p(jsm_remove_one), | 220 | .remove = jsm_remove_one, |
221 | .err_handler = &jsm_err_handler, | 221 | .err_handler = &jsm_err_handler, |
222 | }; | 222 | }; |
223 | 223 | ||
diff --git a/drivers/tty/serial/lpc32xx_hs.c b/drivers/tty/serial/lpc32xx_hs.c index ba3af3bf6d43..7b0f5b4e592b 100644 --- a/drivers/tty/serial/lpc32xx_hs.c +++ b/drivers/tty/serial/lpc32xx_hs.c | |||
@@ -783,7 +783,7 @@ MODULE_DEVICE_TABLE(of, serial_hs_lpc32xx_dt_ids); | |||
783 | 783 | ||
784 | static struct platform_driver serial_hs_lpc32xx_driver = { | 784 | static struct platform_driver serial_hs_lpc32xx_driver = { |
785 | .probe = serial_hs_lpc32xx_probe, | 785 | .probe = serial_hs_lpc32xx_probe, |
786 | .remove = __devexit_p(serial_hs_lpc32xx_remove), | 786 | .remove = serial_hs_lpc32xx_remove, |
787 | .suspend = serial_hs_lpc32xx_suspend, | 787 | .suspend = serial_hs_lpc32xx_suspend, |
788 | .resume = serial_hs_lpc32xx_resume, | 788 | .resume = serial_hs_lpc32xx_resume, |
789 | .driver = { | 789 | .driver = { |
diff --git a/drivers/tty/serial/max3100.c b/drivers/tty/serial/max3100.c index 0f24486be532..2ffd7f091cc0 100644 --- a/drivers/tty/serial/max3100.c +++ b/drivers/tty/serial/max3100.c | |||
@@ -907,7 +907,7 @@ static struct spi_driver max3100_driver = { | |||
907 | }, | 907 | }, |
908 | 908 | ||
909 | .probe = max3100_probe, | 909 | .probe = max3100_probe, |
910 | .remove = __devexit_p(max3100_remove), | 910 | .remove = max3100_remove, |
911 | .suspend = max3100_suspend, | 911 | .suspend = max3100_suspend, |
912 | .resume = max3100_resume, | 912 | .resume = max3100_resume, |
913 | }; | 913 | }; |
diff --git a/drivers/tty/serial/max310x.c b/drivers/tty/serial/max310x.c index 1ab1d2c66de4..a332327163a3 100644 --- a/drivers/tty/serial/max310x.c +++ b/drivers/tty/serial/max310x.c | |||
@@ -1249,7 +1249,7 @@ static struct spi_driver max310x_driver = { | |||
1249 | .owner = THIS_MODULE, | 1249 | .owner = THIS_MODULE, |
1250 | }, | 1250 | }, |
1251 | .probe = max310x_probe, | 1251 | .probe = max310x_probe, |
1252 | .remove = __devexit_p(max310x_remove), | 1252 | .remove = max310x_remove, |
1253 | .suspend = max310x_suspend, | 1253 | .suspend = max310x_suspend, |
1254 | .resume = max310x_resume, | 1254 | .resume = max310x_resume, |
1255 | .id_table = max310x_id_table, | 1255 | .id_table = max310x_id_table, |
diff --git a/drivers/tty/serial/mcf.c b/drivers/tty/serial/mcf.c index 9afca093d6ec..e3de7856afb3 100644 --- a/drivers/tty/serial/mcf.c +++ b/drivers/tty/serial/mcf.c | |||
@@ -617,7 +617,7 @@ static int __devexit mcf_remove(struct platform_device *pdev) | |||
617 | 617 | ||
618 | static struct platform_driver mcf_platform_driver = { | 618 | static struct platform_driver mcf_platform_driver = { |
619 | .probe = mcf_probe, | 619 | .probe = mcf_probe, |
620 | .remove = __devexit_p(mcf_remove), | 620 | .remove = mcf_remove, |
621 | .driver = { | 621 | .driver = { |
622 | .name = "mcfuart", | 622 | .name = "mcfuart", |
623 | .owner = THIS_MODULE, | 623 | .owner = THIS_MODULE, |
diff --git a/drivers/tty/serial/mfd.c b/drivers/tty/serial/mfd.c index 79fe59b6cc4a..8a74d59270eb 100644 --- a/drivers/tty/serial/mfd.c +++ b/drivers/tty/serial/mfd.c | |||
@@ -1471,7 +1471,7 @@ static struct pci_driver hsu_pci_driver = { | |||
1471 | .name = "HSU serial", | 1471 | .name = "HSU serial", |
1472 | .id_table = pci_ids, | 1472 | .id_table = pci_ids, |
1473 | .probe = serial_hsu_probe, | 1473 | .probe = serial_hsu_probe, |
1474 | .remove = __devexit_p(serial_hsu_remove), | 1474 | .remove = serial_hsu_remove, |
1475 | .suspend = serial_hsu_suspend, | 1475 | .suspend = serial_hsu_suspend, |
1476 | .resume = serial_hsu_resume, | 1476 | .resume = serial_hsu_resume, |
1477 | .driver = { | 1477 | .driver = { |
diff --git a/drivers/tty/serial/mrst_max3110.c b/drivers/tty/serial/mrst_max3110.c index df2a2240a3ae..649ce126804e 100644 --- a/drivers/tty/serial/mrst_max3110.c +++ b/drivers/tty/serial/mrst_max3110.c | |||
@@ -879,7 +879,7 @@ static struct spi_driver uart_max3110_driver = { | |||
879 | .owner = THIS_MODULE, | 879 | .owner = THIS_MODULE, |
880 | }, | 880 | }, |
881 | .probe = serial_m3110_probe, | 881 | .probe = serial_m3110_probe, |
882 | .remove = __devexit_p(serial_m3110_remove), | 882 | .remove = serial_m3110_remove, |
883 | .suspend = serial_m3110_suspend, | 883 | .suspend = serial_m3110_suspend, |
884 | .resume = serial_m3110_resume, | 884 | .resume = serial_m3110_resume, |
885 | }; | 885 | }; |
diff --git a/drivers/tty/serial/msm_serial_hs.c b/drivers/tty/serial/msm_serial_hs.c index fca13dc73e23..1361ad5e1d56 100644 --- a/drivers/tty/serial/msm_serial_hs.c +++ b/drivers/tty/serial/msm_serial_hs.c | |||
@@ -1838,7 +1838,7 @@ static const struct dev_pm_ops msm_hs_dev_pm_ops = { | |||
1838 | 1838 | ||
1839 | static struct platform_driver msm_serial_hs_platform_driver = { | 1839 | static struct platform_driver msm_serial_hs_platform_driver = { |
1840 | .probe = msm_hs_probe, | 1840 | .probe = msm_hs_probe, |
1841 | .remove = __devexit_p(msm_hs_remove), | 1841 | .remove = msm_hs_remove, |
1842 | .driver = { | 1842 | .driver = { |
1843 | .name = "msm_serial_hs", | 1843 | .name = "msm_serial_hs", |
1844 | .owner = THIS_MODULE, | 1844 | .owner = THIS_MODULE, |
diff --git a/drivers/tty/serial/mux.c b/drivers/tty/serial/mux.c index 7ea8a263fd9e..27834646d018 100644 --- a/drivers/tty/serial/mux.c +++ b/drivers/tty/serial/mux.c | |||
@@ -571,14 +571,14 @@ static struct parisc_driver builtin_serial_mux_driver = { | |||
571 | .name = "builtin_serial_mux", | 571 | .name = "builtin_serial_mux", |
572 | .id_table = builtin_mux_tbl, | 572 | .id_table = builtin_mux_tbl, |
573 | .probe = mux_probe, | 573 | .probe = mux_probe, |
574 | .remove = __devexit_p(mux_remove), | 574 | .remove = mux_remove, |
575 | }; | 575 | }; |
576 | 576 | ||
577 | static struct parisc_driver serial_mux_driver = { | 577 | static struct parisc_driver serial_mux_driver = { |
578 | .name = "serial_mux", | 578 | .name = "serial_mux", |
579 | .id_table = mux_tbl, | 579 | .id_table = mux_tbl, |
580 | .probe = mux_probe, | 580 | .probe = mux_probe, |
581 | .remove = __devexit_p(mux_remove), | 581 | .remove = mux_remove, |
582 | }; | 582 | }; |
583 | 583 | ||
584 | /** | 584 | /** |
diff --git a/drivers/tty/serial/mxs-auart.c b/drivers/tty/serial/mxs-auart.c index d5b9e3039013..479acc88c17e 100644 --- a/drivers/tty/serial/mxs-auart.c +++ b/drivers/tty/serial/mxs-auart.c | |||
@@ -1155,7 +1155,7 @@ static int __devexit mxs_auart_remove(struct platform_device *pdev) | |||
1155 | 1155 | ||
1156 | static struct platform_driver mxs_auart_driver = { | 1156 | static struct platform_driver mxs_auart_driver = { |
1157 | .probe = mxs_auart_probe, | 1157 | .probe = mxs_auart_probe, |
1158 | .remove = __devexit_p(mxs_auart_remove), | 1158 | .remove = mxs_auart_remove, |
1159 | .driver = { | 1159 | .driver = { |
1160 | .name = "mxs-auart", | 1160 | .name = "mxs-auart", |
1161 | .owner = THIS_MODULE, | 1161 | .owner = THIS_MODULE, |
diff --git a/drivers/tty/serial/omap-serial.c b/drivers/tty/serial/omap-serial.c index c34735cf6276..24e2375c5792 100644 --- a/drivers/tty/serial/omap-serial.c +++ b/drivers/tty/serial/omap-serial.c | |||
@@ -1586,7 +1586,7 @@ MODULE_DEVICE_TABLE(of, omap_serial_of_match); | |||
1586 | 1586 | ||
1587 | static struct platform_driver serial_omap_driver = { | 1587 | static struct platform_driver serial_omap_driver = { |
1588 | .probe = serial_omap_probe, | 1588 | .probe = serial_omap_probe, |
1589 | .remove = __devexit_p(serial_omap_remove), | 1589 | .remove = serial_omap_remove, |
1590 | .driver = { | 1590 | .driver = { |
1591 | .name = DRIVER_NAME, | 1591 | .name = DRIVER_NAME, |
1592 | .pm = &serial_omap_dev_pm_ops, | 1592 | .pm = &serial_omap_dev_pm_ops, |
diff --git a/drivers/tty/serial/pch_uart.c b/drivers/tty/serial/pch_uart.c index 4cd6c2381528..f5fb9bd1a14a 100644 --- a/drivers/tty/serial/pch_uart.c +++ b/drivers/tty/serial/pch_uart.c | |||
@@ -1869,7 +1869,7 @@ static struct pci_driver pch_uart_pci_driver = { | |||
1869 | .name = "pch_uart", | 1869 | .name = "pch_uart", |
1870 | .id_table = pch_uart_pci_id, | 1870 | .id_table = pch_uart_pci_id, |
1871 | .probe = pch_uart_pci_probe, | 1871 | .probe = pch_uart_pci_probe, |
1872 | .remove = __devexit_p(pch_uart_pci_remove), | 1872 | .remove = pch_uart_pci_remove, |
1873 | .suspend = pch_uart_pci_suspend, | 1873 | .suspend = pch_uart_pci_suspend, |
1874 | .resume = pch_uart_pci_resume, | 1874 | .resume = pch_uart_pci_resume, |
1875 | }; | 1875 | }; |
diff --git a/drivers/tty/serial/samsung.c b/drivers/tty/serial/samsung.c index 740458ca62cc..6568beb4d370 100644 --- a/drivers/tty/serial/samsung.c +++ b/drivers/tty/serial/samsung.c | |||
@@ -1712,7 +1712,7 @@ MODULE_DEVICE_TABLE(of, s3c24xx_uart_dt_match); | |||
1712 | 1712 | ||
1713 | static struct platform_driver samsung_serial_driver = { | 1713 | static struct platform_driver samsung_serial_driver = { |
1714 | .probe = s3c24xx_serial_probe, | 1714 | .probe = s3c24xx_serial_probe, |
1715 | .remove = __devexit_p(s3c24xx_serial_remove), | 1715 | .remove = s3c24xx_serial_remove, |
1716 | .id_table = s3c24xx_serial_driver_ids, | 1716 | .id_table = s3c24xx_serial_driver_ids, |
1717 | .driver = { | 1717 | .driver = { |
1718 | .name = "samsung-uart", | 1718 | .name = "samsung-uart", |
diff --git a/drivers/tty/serial/sc26xx.c b/drivers/tty/serial/sc26xx.c index 9d664242b312..9a40659ec52f 100644 --- a/drivers/tty/serial/sc26xx.c +++ b/drivers/tty/serial/sc26xx.c | |||
@@ -733,7 +733,7 @@ static int __exit sc26xx_driver_remove(struct platform_device *dev) | |||
733 | 733 | ||
734 | static struct platform_driver sc26xx_driver = { | 734 | static struct platform_driver sc26xx_driver = { |
735 | .probe = sc26xx_probe, | 735 | .probe = sc26xx_probe, |
736 | .remove = __devexit_p(sc26xx_driver_remove), | 736 | .remove = sc26xx_driver_remove, |
737 | .driver = { | 737 | .driver = { |
738 | .name = "SC26xx", | 738 | .name = "SC26xx", |
739 | .owner = THIS_MODULE, | 739 | .owner = THIS_MODULE, |
diff --git a/drivers/tty/serial/sccnxp.c b/drivers/tty/serial/sccnxp.c index e821068cd95b..810853f5fd0e 100644 --- a/drivers/tty/serial/sccnxp.c +++ b/drivers/tty/serial/sccnxp.c | |||
@@ -981,7 +981,7 @@ static struct platform_driver sccnxp_uart_driver = { | |||
981 | .owner = THIS_MODULE, | 981 | .owner = THIS_MODULE, |
982 | }, | 982 | }, |
983 | .probe = sccnxp_probe, | 983 | .probe = sccnxp_probe, |
984 | .remove = __devexit_p(sccnxp_remove), | 984 | .remove = sccnxp_remove, |
985 | .id_table = sccnxp_id_table, | 985 | .id_table = sccnxp_id_table, |
986 | }; | 986 | }; |
987 | module_platform_driver(sccnxp_uart_driver); | 987 | module_platform_driver(sccnxp_uart_driver); |
diff --git a/drivers/tty/serial/serial_txx9.c b/drivers/tty/serial/serial_txx9.c index 6ae2a58d62f2..9d979a9e41a2 100644 --- a/drivers/tty/serial/serial_txx9.c +++ b/drivers/tty/serial/serial_txx9.c | |||
@@ -1171,7 +1171,7 @@ static int serial_txx9_resume(struct platform_device *dev) | |||
1171 | 1171 | ||
1172 | static struct platform_driver serial_txx9_plat_driver = { | 1172 | static struct platform_driver serial_txx9_plat_driver = { |
1173 | .probe = serial_txx9_probe, | 1173 | .probe = serial_txx9_probe, |
1174 | .remove = __devexit_p(serial_txx9_remove), | 1174 | .remove = serial_txx9_remove, |
1175 | #ifdef CONFIG_PM | 1175 | #ifdef CONFIG_PM |
1176 | .suspend = serial_txx9_suspend, | 1176 | .suspend = serial_txx9_suspend, |
1177 | .resume = serial_txx9_resume, | 1177 | .resume = serial_txx9_resume, |
@@ -1261,7 +1261,7 @@ static const struct pci_device_id serial_txx9_pci_tbl[] = { | |||
1261 | static struct pci_driver serial_txx9_pci_driver = { | 1261 | static struct pci_driver serial_txx9_pci_driver = { |
1262 | .name = "serial_txx9", | 1262 | .name = "serial_txx9", |
1263 | .probe = pciserial_txx9_init_one, | 1263 | .probe = pciserial_txx9_init_one, |
1264 | .remove = __devexit_p(pciserial_txx9_remove_one), | 1264 | .remove = pciserial_txx9_remove_one, |
1265 | #ifdef CONFIG_PM | 1265 | #ifdef CONFIG_PM |
1266 | .suspend = pciserial_txx9_suspend_one, | 1266 | .suspend = pciserial_txx9_suspend_one, |
1267 | .resume = pciserial_txx9_resume_one, | 1267 | .resume = pciserial_txx9_resume_one, |
diff --git a/drivers/tty/serial/sirfsoc_uart.c b/drivers/tty/serial/sirfsoc_uart.c index a9e2bd1ab534..49849843ff82 100644 --- a/drivers/tty/serial/sirfsoc_uart.c +++ b/drivers/tty/serial/sirfsoc_uart.c | |||
@@ -735,7 +735,7 @@ MODULE_DEVICE_TABLE(of, sirfsoc_serial_of_match); | |||
735 | 735 | ||
736 | static struct platform_driver sirfsoc_uart_driver = { | 736 | static struct platform_driver sirfsoc_uart_driver = { |
737 | .probe = sirfsoc_uart_probe, | 737 | .probe = sirfsoc_uart_probe, |
738 | .remove = __devexit_p(sirfsoc_uart_remove), | 738 | .remove = sirfsoc_uart_remove, |
739 | .suspend = sirfsoc_uart_suspend, | 739 | .suspend = sirfsoc_uart_suspend, |
740 | .resume = sirfsoc_uart_resume, | 740 | .resume = sirfsoc_uart_resume, |
741 | .driver = { | 741 | .driver = { |
diff --git a/drivers/tty/serial/sunhv.c b/drivers/tty/serial/sunhv.c index 505961cfd934..949b2d3dcc55 100644 --- a/drivers/tty/serial/sunhv.c +++ b/drivers/tty/serial/sunhv.c | |||
@@ -636,7 +636,7 @@ static struct platform_driver hv_driver = { | |||
636 | .of_match_table = hv_match, | 636 | .of_match_table = hv_match, |
637 | }, | 637 | }, |
638 | .probe = hv_probe, | 638 | .probe = hv_probe, |
639 | .remove = __devexit_p(hv_remove), | 639 | .remove = hv_remove, |
640 | }; | 640 | }; |
641 | 641 | ||
642 | static int __init sunhv_init(void) | 642 | static int __init sunhv_init(void) |
diff --git a/drivers/tty/serial/sunsab.c b/drivers/tty/serial/sunsab.c index f0d93eb7e6ec..bbb07bc74f6c 100644 --- a/drivers/tty/serial/sunsab.c +++ b/drivers/tty/serial/sunsab.c | |||
@@ -1100,7 +1100,7 @@ static struct platform_driver sab_driver = { | |||
1100 | .of_match_table = sab_match, | 1100 | .of_match_table = sab_match, |
1101 | }, | 1101 | }, |
1102 | .probe = sab_probe, | 1102 | .probe = sab_probe, |
1103 | .remove = __devexit_p(sab_remove), | 1103 | .remove = sab_remove, |
1104 | }; | 1104 | }; |
1105 | 1105 | ||
1106 | static int __init sunsab_init(void) | 1106 | static int __init sunsab_init(void) |
diff --git a/drivers/tty/serial/sunsu.c b/drivers/tty/serial/sunsu.c index b97913dcdbff..c0658f0b51a1 100644 --- a/drivers/tty/serial/sunsu.c +++ b/drivers/tty/serial/sunsu.c | |||
@@ -1556,7 +1556,7 @@ static struct platform_driver su_driver = { | |||
1556 | .of_match_table = su_match, | 1556 | .of_match_table = su_match, |
1557 | }, | 1557 | }, |
1558 | .probe = su_probe, | 1558 | .probe = su_probe, |
1559 | .remove = __devexit_p(su_remove), | 1559 | .remove = su_remove, |
1560 | }; | 1560 | }; |
1561 | 1561 | ||
1562 | static int __init sunsu_init(void) | 1562 | static int __init sunsu_init(void) |
diff --git a/drivers/tty/serial/sunzilog.c b/drivers/tty/serial/sunzilog.c index babd9470982b..c2ef47594d69 100644 --- a/drivers/tty/serial/sunzilog.c +++ b/drivers/tty/serial/sunzilog.c | |||
@@ -1548,7 +1548,7 @@ static struct platform_driver zs_driver = { | |||
1548 | .of_match_table = zs_match, | 1548 | .of_match_table = zs_match, |
1549 | }, | 1549 | }, |
1550 | .probe = zs_probe, | 1550 | .probe = zs_probe, |
1551 | .remove = __devexit_p(zs_remove), | 1551 | .remove = zs_remove, |
1552 | }; | 1552 | }; |
1553 | 1553 | ||
1554 | static int __init sunzilog_init(void) | 1554 | static int __init sunzilog_init(void) |
diff --git a/drivers/tty/serial/timbuart.c b/drivers/tty/serial/timbuart.c index 70f97491d8f2..5fc11f2a8be4 100644 --- a/drivers/tty/serial/timbuart.c +++ b/drivers/tty/serial/timbuart.c | |||
@@ -510,7 +510,7 @@ static struct platform_driver timbuart_platform_driver = { | |||
510 | .owner = THIS_MODULE, | 510 | .owner = THIS_MODULE, |
511 | }, | 511 | }, |
512 | .probe = timbuart_probe, | 512 | .probe = timbuart_probe, |
513 | .remove = __devexit_p(timbuart_remove), | 513 | .remove = timbuart_remove, |
514 | }; | 514 | }; |
515 | 515 | ||
516 | module_platform_driver(timbuart_platform_driver); | 516 | module_platform_driver(timbuart_platform_driver); |
diff --git a/drivers/tty/serial/uartlite.c b/drivers/tty/serial/uartlite.c index 6579ffdd8e9b..1d4438306ae5 100644 --- a/drivers/tty/serial/uartlite.c +++ b/drivers/tty/serial/uartlite.c | |||
@@ -603,7 +603,7 @@ MODULE_ALIAS("platform:uartlite"); | |||
603 | 603 | ||
604 | static struct platform_driver ulite_platform_driver = { | 604 | static struct platform_driver ulite_platform_driver = { |
605 | .probe = ulite_probe, | 605 | .probe = ulite_probe, |
606 | .remove = __devexit_p(ulite_remove), | 606 | .remove = ulite_remove, |
607 | .driver = { | 607 | .driver = { |
608 | .owner = THIS_MODULE, | 608 | .owner = THIS_MODULE, |
609 | .name = "uartlite", | 609 | .name = "uartlite", |
diff --git a/drivers/tty/serial/vr41xx_siu.c b/drivers/tty/serial/vr41xx_siu.c index cf0d9485ec08..9d3bf75e55a4 100644 --- a/drivers/tty/serial/vr41xx_siu.c +++ b/drivers/tty/serial/vr41xx_siu.c | |||
@@ -952,7 +952,7 @@ static int siu_resume(struct platform_device *dev) | |||
952 | 952 | ||
953 | static struct platform_driver siu_device_driver = { | 953 | static struct platform_driver siu_device_driver = { |
954 | .probe = siu_probe, | 954 | .probe = siu_probe, |
955 | .remove = __devexit_p(siu_remove), | 955 | .remove = siu_remove, |
956 | .suspend = siu_suspend, | 956 | .suspend = siu_suspend, |
957 | .resume = siu_resume, | 957 | .resume = siu_resume, |
958 | .driver = { | 958 | .driver = { |
diff --git a/drivers/tty/serial/vt8500_serial.c b/drivers/tty/serial/vt8500_serial.c index 4354fe565f64..dbcc909291b2 100644 --- a/drivers/tty/serial/vt8500_serial.c +++ b/drivers/tty/serial/vt8500_serial.c | |||
@@ -652,7 +652,7 @@ static const struct of_device_id wmt_dt_ids[] = { | |||
652 | 652 | ||
653 | static struct platform_driver vt8500_platform_driver = { | 653 | static struct platform_driver vt8500_platform_driver = { |
654 | .probe = vt8500_serial_probe, | 654 | .probe = vt8500_serial_probe, |
655 | .remove = __devexit_p(vt8500_serial_remove), | 655 | .remove = vt8500_serial_remove, |
656 | .driver = { | 656 | .driver = { |
657 | .name = "vt8500_serial", | 657 | .name = "vt8500_serial", |
658 | .owner = THIS_MODULE, | 658 | .owner = THIS_MODULE, |