diff options
Diffstat (limited to 'drivers/tty')
49 files changed, 0 insertions, 49 deletions
diff --git a/drivers/tty/amiserial.c b/drivers/tty/amiserial.c index 979e7c3ea2cb..d9f85f95eb2a 100644 --- a/drivers/tty/amiserial.c +++ b/drivers/tty/amiserial.c | |||
@@ -1802,7 +1802,6 @@ static struct platform_driver amiga_serial_driver = { | |||
1802 | .remove = __exit_p(amiga_serial_remove), | 1802 | .remove = __exit_p(amiga_serial_remove), |
1803 | .driver = { | 1803 | .driver = { |
1804 | .name = "amiga-serial", | 1804 | .name = "amiga-serial", |
1805 | .owner = THIS_MODULE, | ||
1806 | }, | 1805 | }, |
1807 | }; | 1806 | }; |
1808 | 1807 | ||
diff --git a/drivers/tty/ehv_bytechan.c b/drivers/tty/ehv_bytechan.c index 9d29d7e4b28c..3c60923b0957 100644 --- a/drivers/tty/ehv_bytechan.c +++ b/drivers/tty/ehv_bytechan.c | |||
@@ -740,7 +740,6 @@ static const struct of_device_id ehv_bc_tty_of_ids[] = { | |||
740 | 740 | ||
741 | static struct platform_driver ehv_bc_tty_driver = { | 741 | static struct platform_driver ehv_bc_tty_driver = { |
742 | .driver = { | 742 | .driver = { |
743 | .owner = THIS_MODULE, | ||
744 | .name = "ehv-bc", | 743 | .name = "ehv-bc", |
745 | .of_match_table = ehv_bc_tty_of_ids, | 744 | .of_match_table = ehv_bc_tty_of_ids, |
746 | }, | 745 | }, |
diff --git a/drivers/tty/hvc/hvc_opal.c b/drivers/tty/hvc/hvc_opal.c index a2cc5f834c63..071551bf3e9a 100644 --- a/drivers/tty/hvc/hvc_opal.c +++ b/drivers/tty/hvc/hvc_opal.c | |||
@@ -262,7 +262,6 @@ static struct platform_driver hvc_opal_driver = { | |||
262 | .remove = hvc_opal_remove, | 262 | .remove = hvc_opal_remove, |
263 | .driver = { | 263 | .driver = { |
264 | .name = hvc_opal_name, | 264 | .name = hvc_opal_name, |
265 | .owner = THIS_MODULE, | ||
266 | .of_match_table = hvc_opal_match, | 265 | .of_match_table = hvc_opal_match, |
267 | } | 266 | } |
268 | }; | 267 | }; |
diff --git a/drivers/tty/hvc/hvc_tile.c b/drivers/tty/hvc/hvc_tile.c index df374860037c..3f6cd3102db5 100644 --- a/drivers/tty/hvc/hvc_tile.c +++ b/drivers/tty/hvc/hvc_tile.c | |||
@@ -178,7 +178,6 @@ static struct platform_driver hvc_tile_driver = { | |||
178 | .shutdown = hvc_tile_shutdown, | 178 | .shutdown = hvc_tile_shutdown, |
179 | .driver = { | 179 | .driver = { |
180 | .name = "hvc-tile", | 180 | .name = "hvc-tile", |
181 | .owner = THIS_MODULE, | ||
182 | } | 181 | } |
183 | }; | 182 | }; |
184 | #endif | 183 | #endif |
diff --git a/drivers/tty/serial/8250/8250_core.c b/drivers/tty/serial/8250/8250_core.c index 9515924b7f38..11c66856ba2f 100644 --- a/drivers/tty/serial/8250/8250_core.c +++ b/drivers/tty/serial/8250/8250_core.c | |||
@@ -3483,7 +3483,6 @@ static struct platform_driver serial8250_isa_driver = { | |||
3483 | .resume = serial8250_resume, | 3483 | .resume = serial8250_resume, |
3484 | .driver = { | 3484 | .driver = { |
3485 | .name = "serial8250", | 3485 | .name = "serial8250", |
3486 | .owner = THIS_MODULE, | ||
3487 | }, | 3486 | }, |
3488 | }; | 3487 | }; |
3489 | 3488 | ||
diff --git a/drivers/tty/serial/8250/8250_dw.c b/drivers/tty/serial/8250/8250_dw.c index f4fd362f6da2..b4b58ae24c61 100644 --- a/drivers/tty/serial/8250/8250_dw.c +++ b/drivers/tty/serial/8250/8250_dw.c | |||
@@ -584,7 +584,6 @@ MODULE_DEVICE_TABLE(acpi, dw8250_acpi_match); | |||
584 | static struct platform_driver dw8250_platform_driver = { | 584 | static struct platform_driver dw8250_platform_driver = { |
585 | .driver = { | 585 | .driver = { |
586 | .name = "dw-apb-uart", | 586 | .name = "dw-apb-uart", |
587 | .owner = THIS_MODULE, | ||
588 | .pm = &dw8250_pm_ops, | 587 | .pm = &dw8250_pm_ops, |
589 | .of_match_table = dw8250_of_match, | 588 | .of_match_table = dw8250_of_match, |
590 | .acpi_match_table = ACPI_PTR(dw8250_acpi_match), | 589 | .acpi_match_table = ACPI_PTR(dw8250_acpi_match), |
diff --git a/drivers/tty/serial/8250/8250_em.c b/drivers/tty/serial/8250/8250_em.c index 478599d82506..ae5eaed6aa85 100644 --- a/drivers/tty/serial/8250/8250_em.c +++ b/drivers/tty/serial/8250/8250_em.c | |||
@@ -159,7 +159,6 @@ static struct platform_driver serial8250_em_platform_driver = { | |||
159 | .driver = { | 159 | .driver = { |
160 | .name = "serial8250-em", | 160 | .name = "serial8250-em", |
161 | .of_match_table = serial8250_em_dt_ids, | 161 | .of_match_table = serial8250_em_dt_ids, |
162 | .owner = THIS_MODULE, | ||
163 | }, | 162 | }, |
164 | .probe = serial8250_em_probe, | 163 | .probe = serial8250_em_probe, |
165 | .remove = serial8250_em_remove, | 164 | .remove = serial8250_em_remove, |
diff --git a/drivers/tty/serial/altera_jtaguart.c b/drivers/tty/serial/altera_jtaguart.c index 932e01995c0a..192d0435bb86 100644 --- a/drivers/tty/serial/altera_jtaguart.c +++ b/drivers/tty/serial/altera_jtaguart.c | |||
@@ -475,7 +475,6 @@ static struct platform_driver altera_jtaguart_platform_driver = { | |||
475 | .remove = altera_jtaguart_remove, | 475 | .remove = altera_jtaguart_remove, |
476 | .driver = { | 476 | .driver = { |
477 | .name = DRV_NAME, | 477 | .name = DRV_NAME, |
478 | .owner = THIS_MODULE, | ||
479 | .of_match_table = of_match_ptr(altera_jtaguart_match), | 478 | .of_match_table = of_match_ptr(altera_jtaguart_match), |
480 | }, | 479 | }, |
481 | }; | 480 | }; |
diff --git a/drivers/tty/serial/altera_uart.c b/drivers/tty/serial/altera_uart.c index 1cb2cdb1bc42..eb15a50623cb 100644 --- a/drivers/tty/serial/altera_uart.c +++ b/drivers/tty/serial/altera_uart.c | |||
@@ -623,7 +623,6 @@ static struct platform_driver altera_uart_platform_driver = { | |||
623 | .remove = altera_uart_remove, | 623 | .remove = altera_uart_remove, |
624 | .driver = { | 624 | .driver = { |
625 | .name = DRV_NAME, | 625 | .name = DRV_NAME, |
626 | .owner = THIS_MODULE, | ||
627 | .of_match_table = of_match_ptr(altera_uart_match), | 626 | .of_match_table = of_match_ptr(altera_uart_match), |
628 | }, | 627 | }, |
629 | }; | 628 | }; |
diff --git a/drivers/tty/serial/apbuart.c b/drivers/tty/serial/apbuart.c index a34a0cec1685..4f0f95e358e8 100644 --- a/drivers/tty/serial/apbuart.c +++ b/drivers/tty/serial/apbuart.c | |||
@@ -585,7 +585,6 @@ static struct of_device_id apbuart_match[] = { | |||
585 | static struct platform_driver grlib_apbuart_of_driver = { | 585 | static struct platform_driver grlib_apbuart_of_driver = { |
586 | .probe = apbuart_probe, | 586 | .probe = apbuart_probe, |
587 | .driver = { | 587 | .driver = { |
588 | .owner = THIS_MODULE, | ||
589 | .name = "grlib-apbuart", | 588 | .name = "grlib-apbuart", |
590 | .of_match_table = apbuart_match, | 589 | .of_match_table = apbuart_match, |
591 | }, | 590 | }, |
diff --git a/drivers/tty/serial/ar933x_uart.c b/drivers/tty/serial/ar933x_uart.c index 2739361a86f1..77fc9faa74a4 100644 --- a/drivers/tty/serial/ar933x_uart.c +++ b/drivers/tty/serial/ar933x_uart.c | |||
@@ -744,7 +744,6 @@ static struct platform_driver ar933x_uart_platform_driver = { | |||
744 | .remove = ar933x_uart_remove, | 744 | .remove = ar933x_uart_remove, |
745 | .driver = { | 745 | .driver = { |
746 | .name = DRIVER_NAME, | 746 | .name = DRIVER_NAME, |
747 | .owner = THIS_MODULE, | ||
748 | .of_match_table = of_match_ptr(ar933x_uart_of_ids), | 747 | .of_match_table = of_match_ptr(ar933x_uart_of_ids), |
749 | }, | 748 | }, |
750 | }; | 749 | }; |
diff --git a/drivers/tty/serial/arc_uart.c b/drivers/tty/serial/arc_uart.c index a59d1d77e750..03ebe401fff7 100644 --- a/drivers/tty/serial/arc_uart.c +++ b/drivers/tty/serial/arc_uart.c | |||
@@ -653,7 +653,6 @@ static struct platform_driver arc_platform_driver = { | |||
653 | .remove = arc_serial_remove, | 653 | .remove = arc_serial_remove, |
654 | .driver = { | 654 | .driver = { |
655 | .name = DRIVER_NAME, | 655 | .name = DRIVER_NAME, |
656 | .owner = THIS_MODULE, | ||
657 | .of_match_table = arc_uart_dt_ids, | 656 | .of_match_table = arc_uart_dt_ids, |
658 | }, | 657 | }, |
659 | }; | 658 | }; |
diff --git a/drivers/tty/serial/atmel_serial.c b/drivers/tty/serial/atmel_serial.c index 2cb04137ae78..4d848a29e223 100644 --- a/drivers/tty/serial/atmel_serial.c +++ b/drivers/tty/serial/atmel_serial.c | |||
@@ -2650,7 +2650,6 @@ static struct platform_driver atmel_serial_driver = { | |||
2650 | .resume = atmel_serial_resume, | 2650 | .resume = atmel_serial_resume, |
2651 | .driver = { | 2651 | .driver = { |
2652 | .name = "atmel_usart", | 2652 | .name = "atmel_usart", |
2653 | .owner = THIS_MODULE, | ||
2654 | .of_match_table = of_match_ptr(atmel_serial_dt_ids), | 2653 | .of_match_table = of_match_ptr(atmel_serial_dt_ids), |
2655 | }, | 2654 | }, |
2656 | }; | 2655 | }; |
diff --git a/drivers/tty/serial/bcm63xx_uart.c b/drivers/tty/serial/bcm63xx_uart.c index e04e5805ae6e..01d83df08e3d 100644 --- a/drivers/tty/serial/bcm63xx_uart.c +++ b/drivers/tty/serial/bcm63xx_uart.c | |||
@@ -885,7 +885,6 @@ static struct platform_driver bcm_uart_platform_driver = { | |||
885 | .probe = bcm_uart_probe, | 885 | .probe = bcm_uart_probe, |
886 | .remove = bcm_uart_remove, | 886 | .remove = bcm_uart_remove, |
887 | .driver = { | 887 | .driver = { |
888 | .owner = THIS_MODULE, | ||
889 | .name = "bcm63xx_uart", | 888 | .name = "bcm63xx_uart", |
890 | .of_match_table = bcm63xx_of_match, | 889 | .of_match_table = bcm63xx_of_match, |
891 | }, | 890 | }, |
diff --git a/drivers/tty/serial/bfin_uart.c b/drivers/tty/serial/bfin_uart.c index 44b27ec32341..43b3e2c233ff 100644 --- a/drivers/tty/serial/bfin_uart.c +++ b/drivers/tty/serial/bfin_uart.c | |||
@@ -1387,7 +1387,6 @@ static struct platform_driver bfin_serial_driver = { | |||
1387 | .resume = bfin_serial_resume, | 1387 | .resume = bfin_serial_resume, |
1388 | .driver = { | 1388 | .driver = { |
1389 | .name = DRIVER_NAME, | 1389 | .name = DRIVER_NAME, |
1390 | .owner = THIS_MODULE, | ||
1391 | }, | 1390 | }, |
1392 | }; | 1391 | }; |
1393 | 1392 | ||
diff --git a/drivers/tty/serial/clps711x.c b/drivers/tty/serial/clps711x.c index f963c4c48085..6e11c275f2ab 100644 --- a/drivers/tty/serial/clps711x.c +++ b/drivers/tty/serial/clps711x.c | |||
@@ -543,7 +543,6 @@ MODULE_DEVICE_TABLE(of, clps711x_uart_dt_ids); | |||
543 | static struct platform_driver clps711x_uart_platform = { | 543 | static struct platform_driver clps711x_uart_platform = { |
544 | .driver = { | 544 | .driver = { |
545 | .name = "clps711x-uart", | 545 | .name = "clps711x-uart", |
546 | .owner = THIS_MODULE, | ||
547 | .of_match_table = of_match_ptr(clps711x_uart_dt_ids), | 546 | .of_match_table = of_match_ptr(clps711x_uart_dt_ids), |
548 | }, | 547 | }, |
549 | .probe = uart_clps711x_probe, | 548 | .probe = uart_clps711x_probe, |
diff --git a/drivers/tty/serial/cpm_uart/cpm_uart_core.c b/drivers/tty/serial/cpm_uart/cpm_uart_core.c index 638afd35c547..fddb1fd4d9d3 100644 --- a/drivers/tty/serial/cpm_uart/cpm_uart_core.c +++ b/drivers/tty/serial/cpm_uart/cpm_uart_core.c | |||
@@ -1454,7 +1454,6 @@ static struct of_device_id cpm_uart_match[] = { | |||
1454 | static struct platform_driver cpm_uart_driver = { | 1454 | static struct platform_driver cpm_uart_driver = { |
1455 | .driver = { | 1455 | .driver = { |
1456 | .name = "cpm_uart", | 1456 | .name = "cpm_uart", |
1457 | .owner = THIS_MODULE, | ||
1458 | .of_match_table = cpm_uart_match, | 1457 | .of_match_table = cpm_uart_match, |
1459 | }, | 1458 | }, |
1460 | .probe = cpm_uart_probe, | 1459 | .probe = cpm_uart_probe, |
diff --git a/drivers/tty/serial/efm32-uart.c b/drivers/tty/serial/efm32-uart.c index 55d9c00112cc..195acc868763 100644 --- a/drivers/tty/serial/efm32-uart.c +++ b/drivers/tty/serial/efm32-uart.c | |||
@@ -814,7 +814,6 @@ static struct platform_driver efm32_uart_driver = { | |||
814 | 814 | ||
815 | .driver = { | 815 | .driver = { |
816 | .name = DRIVER_NAME, | 816 | .name = DRIVER_NAME, |
817 | .owner = THIS_MODULE, | ||
818 | .of_match_table = efm32_uart_dt_ids, | 817 | .of_match_table = efm32_uart_dt_ids, |
819 | }, | 818 | }, |
820 | }; | 819 | }; |
diff --git a/drivers/tty/serial/fsl_lpuart.c b/drivers/tty/serial/fsl_lpuart.c index 4f58077b1413..e7cde3a9566d 100644 --- a/drivers/tty/serial/fsl_lpuart.c +++ b/drivers/tty/serial/fsl_lpuart.c | |||
@@ -1888,7 +1888,6 @@ static struct platform_driver lpuart_driver = { | |||
1888 | .remove = lpuart_remove, | 1888 | .remove = lpuart_remove, |
1889 | .driver = { | 1889 | .driver = { |
1890 | .name = "fsl-lpuart", | 1890 | .name = "fsl-lpuart", |
1891 | .owner = THIS_MODULE, | ||
1892 | .of_match_table = lpuart_dt_ids, | 1891 | .of_match_table = lpuart_dt_ids, |
1893 | .pm = &lpuart_pm_ops, | 1892 | .pm = &lpuart_pm_ops, |
1894 | }, | 1893 | }, |
diff --git a/drivers/tty/serial/imx.c b/drivers/tty/serial/imx.c index c53968e5439c..4c5e9092e2d7 100644 --- a/drivers/tty/serial/imx.c +++ b/drivers/tty/serial/imx.c | |||
@@ -1952,7 +1952,6 @@ static struct platform_driver serial_imx_driver = { | |||
1952 | .id_table = imx_uart_devtype, | 1952 | .id_table = imx_uart_devtype, |
1953 | .driver = { | 1953 | .driver = { |
1954 | .name = "imx-uart", | 1954 | .name = "imx-uart", |
1955 | .owner = THIS_MODULE, | ||
1956 | .of_match_table = imx_uart_dt_ids, | 1955 | .of_match_table = imx_uart_dt_ids, |
1957 | }, | 1956 | }, |
1958 | }; | 1957 | }; |
diff --git a/drivers/tty/serial/lantiq.c b/drivers/tty/serial/lantiq.c index 18c3844510ff..4ccc0397664c 100644 --- a/drivers/tty/serial/lantiq.c +++ b/drivers/tty/serial/lantiq.c | |||
@@ -745,7 +745,6 @@ MODULE_DEVICE_TABLE(of, ltq_asc_match); | |||
745 | static struct platform_driver lqasc_driver = { | 745 | static struct platform_driver lqasc_driver = { |
746 | .driver = { | 746 | .driver = { |
747 | .name = DRVNAME, | 747 | .name = DRVNAME, |
748 | .owner = THIS_MODULE, | ||
749 | .of_match_table = ltq_asc_match, | 748 | .of_match_table = ltq_asc_match, |
750 | }, | 749 | }, |
751 | }; | 750 | }; |
diff --git a/drivers/tty/serial/lpc32xx_hs.c b/drivers/tty/serial/lpc32xx_hs.c index 6f0f89282847..e92d7ebe9e77 100644 --- a/drivers/tty/serial/lpc32xx_hs.c +++ b/drivers/tty/serial/lpc32xx_hs.c | |||
@@ -768,7 +768,6 @@ static struct platform_driver serial_hs_lpc32xx_driver = { | |||
768 | .resume = serial_hs_lpc32xx_resume, | 768 | .resume = serial_hs_lpc32xx_resume, |
769 | .driver = { | 769 | .driver = { |
770 | .name = MODNAME, | 770 | .name = MODNAME, |
771 | .owner = THIS_MODULE, | ||
772 | .of_match_table = serial_hs_lpc32xx_dt_ids, | 771 | .of_match_table = serial_hs_lpc32xx_dt_ids, |
773 | }, | 772 | }, |
774 | }; | 773 | }; |
diff --git a/drivers/tty/serial/mcf.c b/drivers/tty/serial/mcf.c index fdd5c7bd1e8d..10496672dfdb 100644 --- a/drivers/tty/serial/mcf.c +++ b/drivers/tty/serial/mcf.c | |||
@@ -667,7 +667,6 @@ static struct platform_driver mcf_platform_driver = { | |||
667 | .remove = mcf_remove, | 667 | .remove = mcf_remove, |
668 | .driver = { | 668 | .driver = { |
669 | .name = "mcfuart", | 669 | .name = "mcfuart", |
670 | .owner = THIS_MODULE, | ||
671 | }, | 670 | }, |
672 | }; | 671 | }; |
673 | 672 | ||
diff --git a/drivers/tty/serial/meson_uart.c b/drivers/tty/serial/meson_uart.c index 15c749753317..67c036702629 100644 --- a/drivers/tty/serial/meson_uart.c +++ b/drivers/tty/serial/meson_uart.c | |||
@@ -599,7 +599,6 @@ static struct platform_driver meson_uart_platform_driver = { | |||
599 | .probe = meson_uart_probe, | 599 | .probe = meson_uart_probe, |
600 | .remove = meson_uart_remove, | 600 | .remove = meson_uart_remove, |
601 | .driver = { | 601 | .driver = { |
602 | .owner = THIS_MODULE, | ||
603 | .name = "meson_uart", | 602 | .name = "meson_uart", |
604 | .of_match_table = meson_uart_dt_match, | 603 | .of_match_table = meson_uart_dt_match, |
605 | }, | 604 | }, |
diff --git a/drivers/tty/serial/mpc52xx_uart.c b/drivers/tty/serial/mpc52xx_uart.c index a5f4e3648b15..3308ef243dc3 100644 --- a/drivers/tty/serial/mpc52xx_uart.c +++ b/drivers/tty/serial/mpc52xx_uart.c | |||
@@ -1889,7 +1889,6 @@ static struct platform_driver mpc52xx_uart_of_driver = { | |||
1889 | #endif | 1889 | #endif |
1890 | .driver = { | 1890 | .driver = { |
1891 | .name = "mpc52xx-psc-uart", | 1891 | .name = "mpc52xx-psc-uart", |
1892 | .owner = THIS_MODULE, | ||
1893 | .of_match_table = mpc52xx_uart_of_match, | 1892 | .of_match_table = mpc52xx_uart_of_match, |
1894 | }, | 1893 | }, |
1895 | }; | 1894 | }; |
diff --git a/drivers/tty/serial/mpsc.c b/drivers/tty/serial/mpsc.c index 5d5499bedba0..856fd5a5fa3c 100644 --- a/drivers/tty/serial/mpsc.c +++ b/drivers/tty/serial/mpsc.c | |||
@@ -2124,7 +2124,6 @@ static struct platform_driver mpsc_driver = { | |||
2124 | .remove = mpsc_drv_remove, | 2124 | .remove = mpsc_drv_remove, |
2125 | .driver = { | 2125 | .driver = { |
2126 | .name = MPSC_CTLR_NAME, | 2126 | .name = MPSC_CTLR_NAME, |
2127 | .owner = THIS_MODULE, | ||
2128 | }, | 2127 | }, |
2129 | }; | 2128 | }; |
2130 | 2129 | ||
diff --git a/drivers/tty/serial/msm_serial.c b/drivers/tty/serial/msm_serial.c index d1bc6b6cbc70..c88b522ccd73 100644 --- a/drivers/tty/serial/msm_serial.c +++ b/drivers/tty/serial/msm_serial.c | |||
@@ -1119,7 +1119,6 @@ static struct platform_driver msm_platform_driver = { | |||
1119 | .probe = msm_serial_probe, | 1119 | .probe = msm_serial_probe, |
1120 | .driver = { | 1120 | .driver = { |
1121 | .name = "msm_serial", | 1121 | .name = "msm_serial", |
1122 | .owner = THIS_MODULE, | ||
1123 | .of_match_table = msm_match_table, | 1122 | .of_match_table = msm_match_table, |
1124 | }, | 1123 | }, |
1125 | }; | 1124 | }; |
diff --git a/drivers/tty/serial/msm_serial_hs.c b/drivers/tty/serial/msm_serial_hs.c index 48e94961a9e5..8abe8ea65658 100644 --- a/drivers/tty/serial/msm_serial_hs.c +++ b/drivers/tty/serial/msm_serial_hs.c | |||
@@ -1838,7 +1838,6 @@ static struct platform_driver msm_serial_hs_platform_driver = { | |||
1838 | .remove = msm_hs_remove, | 1838 | .remove = msm_hs_remove, |
1839 | .driver = { | 1839 | .driver = { |
1840 | .name = "msm_serial_hs", | 1840 | .name = "msm_serial_hs", |
1841 | .owner = THIS_MODULE, | ||
1842 | .pm = &msm_hs_dev_pm_ops, | 1841 | .pm = &msm_hs_dev_pm_ops, |
1843 | }, | 1842 | }, |
1844 | }; | 1843 | }; |
diff --git a/drivers/tty/serial/mxs-auart.c b/drivers/tty/serial/mxs-auart.c index b7a5aaa6271a..ec553f8eb218 100644 --- a/drivers/tty/serial/mxs-auart.c +++ b/drivers/tty/serial/mxs-auart.c | |||
@@ -1339,7 +1339,6 @@ static struct platform_driver mxs_auart_driver = { | |||
1339 | .remove = mxs_auart_remove, | 1339 | .remove = mxs_auart_remove, |
1340 | .driver = { | 1340 | .driver = { |
1341 | .name = "mxs-auart", | 1341 | .name = "mxs-auart", |
1342 | .owner = THIS_MODULE, | ||
1343 | .of_match_table = mxs_auart_dt_ids, | 1342 | .of_match_table = mxs_auart_dt_ids, |
1344 | }, | 1343 | }, |
1345 | }; | 1344 | }; |
diff --git a/drivers/tty/serial/netx-serial.c b/drivers/tty/serial/netx-serial.c index 7a6745601d4e..207a0a032ed1 100644 --- a/drivers/tty/serial/netx-serial.c +++ b/drivers/tty/serial/netx-serial.c | |||
@@ -710,7 +710,6 @@ static struct platform_driver serial_netx_driver = { | |||
710 | 710 | ||
711 | .driver = { | 711 | .driver = { |
712 | .name = DRIVER_NAME, | 712 | .name = DRIVER_NAME, |
713 | .owner = THIS_MODULE, | ||
714 | }, | 713 | }, |
715 | }; | 714 | }; |
716 | 715 | ||
diff --git a/drivers/tty/serial/of_serial.c b/drivers/tty/serial/of_serial.c index 6dbd34c4f9e7..64f1bab7e9d7 100644 --- a/drivers/tty/serial/of_serial.c +++ b/drivers/tty/serial/of_serial.c | |||
@@ -342,7 +342,6 @@ static struct of_device_id of_platform_serial_table[] = { | |||
342 | static struct platform_driver of_platform_serial_driver = { | 342 | static struct platform_driver of_platform_serial_driver = { |
343 | .driver = { | 343 | .driver = { |
344 | .name = "of_serial", | 344 | .name = "of_serial", |
345 | .owner = THIS_MODULE, | ||
346 | .of_match_table = of_platform_serial_table, | 345 | .of_match_table = of_platform_serial_table, |
347 | }, | 346 | }, |
348 | .probe = of_platform_serial_probe, | 347 | .probe = of_platform_serial_probe, |
diff --git a/drivers/tty/serial/pmac_zilog.c b/drivers/tty/serial/pmac_zilog.c index 4aca3229b7bb..8f515799c9c1 100644 --- a/drivers/tty/serial/pmac_zilog.c +++ b/drivers/tty/serial/pmac_zilog.c | |||
@@ -1876,7 +1876,6 @@ static struct platform_driver pmz_driver = { | |||
1876 | .remove = __exit_p(pmz_detach), | 1876 | .remove = __exit_p(pmz_detach), |
1877 | .driver = { | 1877 | .driver = { |
1878 | .name = "scc", | 1878 | .name = "scc", |
1879 | .owner = THIS_MODULE, | ||
1880 | }, | 1879 | }, |
1881 | }; | 1880 | }; |
1882 | 1881 | ||
diff --git a/drivers/tty/serial/pnx8xxx_uart.c b/drivers/tty/serial/pnx8xxx_uart.c index 9fd941460e3c..7a3bb9cf1f2e 100644 --- a/drivers/tty/serial/pnx8xxx_uart.c +++ b/drivers/tty/serial/pnx8xxx_uart.c | |||
@@ -829,7 +829,6 @@ static int pnx8xxx_serial_remove(struct platform_device *pdev) | |||
829 | static struct platform_driver pnx8xxx_serial_driver = { | 829 | static struct platform_driver pnx8xxx_serial_driver = { |
830 | .driver = { | 830 | .driver = { |
831 | .name = "pnx8xxx-uart", | 831 | .name = "pnx8xxx-uart", |
832 | .owner = THIS_MODULE, | ||
833 | }, | 832 | }, |
834 | .probe = pnx8xxx_serial_probe, | 833 | .probe = pnx8xxx_serial_probe, |
835 | .remove = pnx8xxx_serial_remove, | 834 | .remove = pnx8xxx_serial_remove, |
diff --git a/drivers/tty/serial/pxa.c b/drivers/tty/serial/pxa.c index 7788d53281a0..d5d062694bd3 100644 --- a/drivers/tty/serial/pxa.c +++ b/drivers/tty/serial/pxa.c | |||
@@ -933,7 +933,6 @@ static struct platform_driver serial_pxa_driver = { | |||
933 | 933 | ||
934 | .driver = { | 934 | .driver = { |
935 | .name = "pxa2xx-uart", | 935 | .name = "pxa2xx-uart", |
936 | .owner = THIS_MODULE, | ||
937 | #ifdef CONFIG_PM | 936 | #ifdef CONFIG_PM |
938 | .pm = &serial_pxa_pm_ops, | 937 | .pm = &serial_pxa_pm_ops, |
939 | #endif | 938 | #endif |
diff --git a/drivers/tty/serial/sa1100.c b/drivers/tty/serial/sa1100.c index 4eb24fef4512..fd3d1329d48c 100644 --- a/drivers/tty/serial/sa1100.c +++ b/drivers/tty/serial/sa1100.c | |||
@@ -898,7 +898,6 @@ static struct platform_driver sa11x0_serial_driver = { | |||
898 | .resume = sa1100_serial_resume, | 898 | .resume = sa1100_serial_resume, |
899 | .driver = { | 899 | .driver = { |
900 | .name = "sa11x0-uart", | 900 | .name = "sa11x0-uart", |
901 | .owner = THIS_MODULE, | ||
902 | }, | 901 | }, |
903 | }; | 902 | }; |
904 | 903 | ||
diff --git a/drivers/tty/serial/samsung.c b/drivers/tty/serial/samsung.c index 7ed76773c274..19273e31d224 100644 --- a/drivers/tty/serial/samsung.c +++ b/drivers/tty/serial/samsung.c | |||
@@ -1834,7 +1834,6 @@ static struct platform_driver samsung_serial_driver = { | |||
1834 | .id_table = s3c24xx_serial_driver_ids, | 1834 | .id_table = s3c24xx_serial_driver_ids, |
1835 | .driver = { | 1835 | .driver = { |
1836 | .name = "samsung-uart", | 1836 | .name = "samsung-uart", |
1837 | .owner = THIS_MODULE, | ||
1838 | .pm = SERIAL_SAMSUNG_PM_OPS, | 1837 | .pm = SERIAL_SAMSUNG_PM_OPS, |
1839 | .of_match_table = of_match_ptr(s3c24xx_uart_dt_match), | 1838 | .of_match_table = of_match_ptr(s3c24xx_uart_dt_match), |
1840 | }, | 1839 | }, |
diff --git a/drivers/tty/serial/sccnxp.c b/drivers/tty/serial/sccnxp.c index 75850f70b479..fcf803ffad19 100644 --- a/drivers/tty/serial/sccnxp.c +++ b/drivers/tty/serial/sccnxp.c | |||
@@ -1012,7 +1012,6 @@ static int sccnxp_remove(struct platform_device *pdev) | |||
1012 | static struct platform_driver sccnxp_uart_driver = { | 1012 | static struct platform_driver sccnxp_uart_driver = { |
1013 | .driver = { | 1013 | .driver = { |
1014 | .name = SCCNXP_NAME, | 1014 | .name = SCCNXP_NAME, |
1015 | .owner = THIS_MODULE, | ||
1016 | }, | 1015 | }, |
1017 | .probe = sccnxp_probe, | 1016 | .probe = sccnxp_probe, |
1018 | .remove = sccnxp_remove, | 1017 | .remove = sccnxp_remove, |
diff --git a/drivers/tty/serial/serial_txx9.c b/drivers/tty/serial/serial_txx9.c index af115645c51f..f80312eed4fd 100644 --- a/drivers/tty/serial/serial_txx9.c +++ b/drivers/tty/serial/serial_txx9.c | |||
@@ -1165,7 +1165,6 @@ static struct platform_driver serial_txx9_plat_driver = { | |||
1165 | #endif | 1165 | #endif |
1166 | .driver = { | 1166 | .driver = { |
1167 | .name = "serial_txx9", | 1167 | .name = "serial_txx9", |
1168 | .owner = THIS_MODULE, | ||
1169 | }, | 1168 | }, |
1170 | }; | 1169 | }; |
1171 | 1170 | ||
diff --git a/drivers/tty/serial/sh-sci.c b/drivers/tty/serial/sh-sci.c index fccebbdf449f..e032963989fc 100644 --- a/drivers/tty/serial/sh-sci.c +++ b/drivers/tty/serial/sh-sci.c | |||
@@ -2635,7 +2635,6 @@ static struct platform_driver sci_driver = { | |||
2635 | .remove = sci_remove, | 2635 | .remove = sci_remove, |
2636 | .driver = { | 2636 | .driver = { |
2637 | .name = "sh-sci", | 2637 | .name = "sh-sci", |
2638 | .owner = THIS_MODULE, | ||
2639 | .pm = &sci_dev_pm_ops, | 2638 | .pm = &sci_dev_pm_ops, |
2640 | .of_match_table = of_match_ptr(of_sci_match), | 2639 | .of_match_table = of_match_ptr(of_sci_match), |
2641 | }, | 2640 | }, |
diff --git a/drivers/tty/serial/sirfsoc_uart.c b/drivers/tty/serial/sirfsoc_uart.c index 2f6c6b04cc8d..b269f6bd16d6 100644 --- a/drivers/tty/serial/sirfsoc_uart.c +++ b/drivers/tty/serial/sirfsoc_uart.c | |||
@@ -1497,7 +1497,6 @@ static struct platform_driver sirfsoc_uart_driver = { | |||
1497 | .remove = sirfsoc_uart_remove, | 1497 | .remove = sirfsoc_uart_remove, |
1498 | .driver = { | 1498 | .driver = { |
1499 | .name = SIRFUART_PORT_NAME, | 1499 | .name = SIRFUART_PORT_NAME, |
1500 | .owner = THIS_MODULE, | ||
1501 | .of_match_table = sirfsoc_uart_ids, | 1500 | .of_match_table = sirfsoc_uart_ids, |
1502 | .pm = &sirfsoc_uart_pm_ops, | 1501 | .pm = &sirfsoc_uart_pm_ops, |
1503 | }, | 1502 | }, |
diff --git a/drivers/tty/serial/st-asc.c b/drivers/tty/serial/st-asc.c index a3165842ca29..712b03a076b8 100644 --- a/drivers/tty/serial/st-asc.c +++ b/drivers/tty/serial/st-asc.c | |||
@@ -895,7 +895,6 @@ static struct platform_driver asc_serial_driver = { | |||
895 | .driver = { | 895 | .driver = { |
896 | .name = DRIVER_NAME, | 896 | .name = DRIVER_NAME, |
897 | .pm = &asc_serial_pm_ops, | 897 | .pm = &asc_serial_pm_ops, |
898 | .owner = THIS_MODULE, | ||
899 | .of_match_table = of_match_ptr(asc_match), | 898 | .of_match_table = of_match_ptr(asc_match), |
900 | }, | 899 | }, |
901 | }; | 900 | }; |
diff --git a/drivers/tty/serial/sunhv.c b/drivers/tty/serial/sunhv.c index 25d43ce8b318..534754440fa8 100644 --- a/drivers/tty/serial/sunhv.c +++ b/drivers/tty/serial/sunhv.c | |||
@@ -626,7 +626,6 @@ MODULE_DEVICE_TABLE(of, hv_match); | |||
626 | static struct platform_driver hv_driver = { | 626 | static struct platform_driver hv_driver = { |
627 | .driver = { | 627 | .driver = { |
628 | .name = "hv", | 628 | .name = "hv", |
629 | .owner = THIS_MODULE, | ||
630 | .of_match_table = hv_match, | 629 | .of_match_table = hv_match, |
631 | }, | 630 | }, |
632 | .probe = hv_probe, | 631 | .probe = hv_probe, |
diff --git a/drivers/tty/serial/sunsab.c b/drivers/tty/serial/sunsab.c index e3b43a449d46..b5e3195b3697 100644 --- a/drivers/tty/serial/sunsab.c +++ b/drivers/tty/serial/sunsab.c | |||
@@ -1104,7 +1104,6 @@ MODULE_DEVICE_TABLE(of, sab_match); | |||
1104 | static struct platform_driver sab_driver = { | 1104 | static struct platform_driver sab_driver = { |
1105 | .driver = { | 1105 | .driver = { |
1106 | .name = "sab", | 1106 | .name = "sab", |
1107 | .owner = THIS_MODULE, | ||
1108 | .of_match_table = sab_match, | 1107 | .of_match_table = sab_match, |
1109 | }, | 1108 | }, |
1110 | .probe = sab_probe, | 1109 | .probe = sab_probe, |
diff --git a/drivers/tty/serial/sunsu.c b/drivers/tty/serial/sunsu.c index be010f893868..e124d2e88996 100644 --- a/drivers/tty/serial/sunsu.c +++ b/drivers/tty/serial/sunsu.c | |||
@@ -1550,7 +1550,6 @@ MODULE_DEVICE_TABLE(of, su_match); | |||
1550 | static struct platform_driver su_driver = { | 1550 | static struct platform_driver su_driver = { |
1551 | .driver = { | 1551 | .driver = { |
1552 | .name = "su", | 1552 | .name = "su", |
1553 | .owner = THIS_MODULE, | ||
1554 | .of_match_table = su_match, | 1553 | .of_match_table = su_match, |
1555 | }, | 1554 | }, |
1556 | .probe = su_probe, | 1555 | .probe = su_probe, |
diff --git a/drivers/tty/serial/sunzilog.c b/drivers/tty/serial/sunzilog.c index 844aae7683cc..8b6ace341029 100644 --- a/drivers/tty/serial/sunzilog.c +++ b/drivers/tty/serial/sunzilog.c | |||
@@ -1541,7 +1541,6 @@ MODULE_DEVICE_TABLE(of, zs_match); | |||
1541 | static struct platform_driver zs_driver = { | 1541 | static struct platform_driver zs_driver = { |
1542 | .driver = { | 1542 | .driver = { |
1543 | .name = "zs", | 1543 | .name = "zs", |
1544 | .owner = THIS_MODULE, | ||
1545 | .of_match_table = zs_match, | 1544 | .of_match_table = zs_match, |
1546 | }, | 1545 | }, |
1547 | .probe = zs_probe, | 1546 | .probe = zs_probe, |
diff --git a/drivers/tty/serial/timbuart.c b/drivers/tty/serial/timbuart.c index e9e252324fb6..512c162634a3 100644 --- a/drivers/tty/serial/timbuart.c +++ b/drivers/tty/serial/timbuart.c | |||
@@ -503,7 +503,6 @@ static int timbuart_remove(struct platform_device *dev) | |||
503 | static struct platform_driver timbuart_platform_driver = { | 503 | static struct platform_driver timbuart_platform_driver = { |
504 | .driver = { | 504 | .driver = { |
505 | .name = "timb-uart", | 505 | .name = "timb-uart", |
506 | .owner = THIS_MODULE, | ||
507 | }, | 506 | }, |
508 | .probe = timbuart_probe, | 507 | .probe = timbuart_probe, |
509 | .remove = timbuart_remove, | 508 | .remove = timbuart_remove, |
diff --git a/drivers/tty/serial/ucc_uart.c b/drivers/tty/serial/ucc_uart.c index c107a0f0e72f..14d10fcfd210 100644 --- a/drivers/tty/serial/ucc_uart.c +++ b/drivers/tty/serial/ucc_uart.c | |||
@@ -1485,7 +1485,6 @@ MODULE_DEVICE_TABLE(of, ucc_uart_match); | |||
1485 | static struct platform_driver ucc_uart_of_driver = { | 1485 | static struct platform_driver ucc_uart_of_driver = { |
1486 | .driver = { | 1486 | .driver = { |
1487 | .name = "ucc_uart", | 1487 | .name = "ucc_uart", |
1488 | .owner = THIS_MODULE, | ||
1489 | .of_match_table = ucc_uart_match, | 1488 | .of_match_table = ucc_uart_match, |
1490 | }, | 1489 | }, |
1491 | .probe = ucc_uart_probe, | 1490 | .probe = ucc_uart_probe, |
diff --git a/drivers/tty/serial/vr41xx_siu.c b/drivers/tty/serial/vr41xx_siu.c index d7f9d622cdcb..485de53c5d75 100644 --- a/drivers/tty/serial/vr41xx_siu.c +++ b/drivers/tty/serial/vr41xx_siu.c | |||
@@ -954,7 +954,6 @@ static struct platform_driver siu_device_driver = { | |||
954 | .resume = siu_resume, | 954 | .resume = siu_resume, |
955 | .driver = { | 955 | .driver = { |
956 | .name = "SIU", | 956 | .name = "SIU", |
957 | .owner = THIS_MODULE, | ||
958 | }, | 957 | }, |
959 | }; | 958 | }; |
960 | 959 | ||
diff --git a/drivers/tty/serial/vt8500_serial.c b/drivers/tty/serial/vt8500_serial.c index b2bc9e8ba048..4079ec56f5f9 100644 --- a/drivers/tty/serial/vt8500_serial.c +++ b/drivers/tty/serial/vt8500_serial.c | |||
@@ -745,7 +745,6 @@ static struct platform_driver vt8500_platform_driver = { | |||
745 | .remove = vt8500_serial_remove, | 745 | .remove = vt8500_serial_remove, |
746 | .driver = { | 746 | .driver = { |
747 | .name = "vt8500_serial", | 747 | .name = "vt8500_serial", |
748 | .owner = THIS_MODULE, | ||
749 | .of_match_table = wmt_dt_ids, | 748 | .of_match_table = wmt_dt_ids, |
750 | }, | 749 | }, |
751 | }; | 750 | }; |