diff options
author | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-11-03 22:53:56 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-11-03 22:53:56 -0500 |
commit | a8a93c6f9922c0d70459668c1300b226cb3918ab (patch) | |
tree | 6d484e6cb951bad4805297648ad17e1d42fe03f4 /drivers/tty | |
parent | 0df1f2487d2f0d04703f142813d53615d62a1da4 (diff) | |
parent | 79cd1762933153237731585f0901eec368e54bae (diff) |
Merge branch 'platform/remove_owner' of git://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux into driver-core-next
Remove all .owner fields from platform drivers
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 4f485e88f60c..ffe08e1d7187 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 ca5cfdc1459a..27483d3fcfa0 100644 --- a/drivers/tty/serial/8250/8250_core.c +++ b/drivers/tty/serial/8250/8250_core.c | |||
@@ -3488,7 +3488,6 @@ static struct platform_driver serial8250_isa_driver = { | |||
3488 | .resume = serial8250_resume, | 3488 | .resume = serial8250_resume, |
3489 | .driver = { | 3489 | .driver = { |
3490 | .name = "serial8250", | 3490 | .name = "serial8250", |
3491 | .owner = THIS_MODULE, | ||
3492 | }, | 3491 | }, |
3493 | }; | 3492 | }; |
3494 | 3493 | ||
diff --git a/drivers/tty/serial/8250/8250_dw.c b/drivers/tty/serial/8250/8250_dw.c index beea6ca73ee5..2f7a055d63b5 100644 --- a/drivers/tty/serial/8250/8250_dw.c +++ b/drivers/tty/serial/8250/8250_dw.c | |||
@@ -543,7 +543,6 @@ MODULE_DEVICE_TABLE(acpi, dw8250_acpi_match); | |||
543 | static struct platform_driver dw8250_platform_driver = { | 543 | static struct platform_driver dw8250_platform_driver = { |
544 | .driver = { | 544 | .driver = { |
545 | .name = "dw-apb-uart", | 545 | .name = "dw-apb-uart", |
546 | .owner = THIS_MODULE, | ||
547 | .pm = &dw8250_pm_ops, | 546 | .pm = &dw8250_pm_ops, |
548 | .of_match_table = dw8250_of_match, | 547 | .of_match_table = dw8250_of_match, |
549 | .acpi_match_table = ACPI_PTR(dw8250_acpi_match), | 548 | .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 56c87232b6a0..3f0858d72411 100644 --- a/drivers/tty/serial/8250/8250_em.c +++ b/drivers/tty/serial/8250/8250_em.c | |||
@@ -161,7 +161,6 @@ static struct platform_driver serial8250_em_platform_driver = { | |||
161 | .driver = { | 161 | .driver = { |
162 | .name = "serial8250-em", | 162 | .name = "serial8250-em", |
163 | .of_match_table = serial8250_em_dt_ids, | 163 | .of_match_table = serial8250_em_dt_ids, |
164 | .owner = THIS_MODULE, | ||
165 | }, | 164 | }, |
166 | .probe = serial8250_em_probe, | 165 | .probe = serial8250_em_probe, |
167 | .remove = serial8250_em_remove, | 166 | .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 0be1c45efd65..5d8ec7fe0d98 100644 --- a/drivers/tty/serial/ar933x_uart.c +++ b/drivers/tty/serial/ar933x_uart.c | |||
@@ -734,7 +734,6 @@ static struct platform_driver ar933x_uart_platform_driver = { | |||
734 | .remove = ar933x_uart_remove, | 734 | .remove = ar933x_uart_remove, |
735 | .driver = { | 735 | .driver = { |
736 | .name = DRIVER_NAME, | 736 | .name = DRIVER_NAME, |
737 | .owner = THIS_MODULE, | ||
738 | .of_match_table = of_match_ptr(ar933x_uart_of_ids), | 737 | .of_match_table = of_match_ptr(ar933x_uart_of_ids), |
739 | }, | 738 | }, |
740 | }; | 739 | }; |
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 edde3eca055d..9075c6622af5 100644 --- a/drivers/tty/serial/atmel_serial.c +++ b/drivers/tty/serial/atmel_serial.c | |||
@@ -2660,7 +2660,6 @@ static struct platform_driver atmel_serial_driver = { | |||
2660 | .resume = atmel_serial_resume, | 2660 | .resume = atmel_serial_resume, |
2661 | .driver = { | 2661 | .driver = { |
2662 | .name = "atmel_usart", | 2662 | .name = "atmel_usart", |
2663 | .owner = THIS_MODULE, | ||
2664 | .of_match_table = of_match_ptr(atmel_serial_dt_ids), | 2663 | .of_match_table = of_match_ptr(atmel_serial_dt_ids), |
2665 | }, | 2664 | }, |
2666 | }; | 2665 | }; |
diff --git a/drivers/tty/serial/bcm63xx_uart.c b/drivers/tty/serial/bcm63xx_uart.c index 231519022b73..ded5620ea513 100644 --- a/drivers/tty/serial/bcm63xx_uart.c +++ b/drivers/tty/serial/bcm63xx_uart.c | |||
@@ -874,7 +874,6 @@ static struct platform_driver bcm_uart_platform_driver = { | |||
874 | .probe = bcm_uart_probe, | 874 | .probe = bcm_uart_probe, |
875 | .remove = bcm_uart_remove, | 875 | .remove = bcm_uart_remove, |
876 | .driver = { | 876 | .driver = { |
877 | .owner = THIS_MODULE, | ||
878 | .name = "bcm63xx_uart", | 877 | .name = "bcm63xx_uart", |
879 | .of_match_table = bcm63xx_of_match, | 878 | .of_match_table = bcm63xx_of_match, |
880 | }, | 879 | }, |
diff --git a/drivers/tty/serial/bfin_uart.c b/drivers/tty/serial/bfin_uart.c index 7da9911e95f0..165564dff0c8 100644 --- a/drivers/tty/serial/bfin_uart.c +++ b/drivers/tty/serial/bfin_uart.c | |||
@@ -1386,7 +1386,6 @@ static struct platform_driver bfin_serial_driver = { | |||
1386 | .resume = bfin_serial_resume, | 1386 | .resume = bfin_serial_resume, |
1387 | .driver = { | 1387 | .driver = { |
1388 | .name = DRIVER_NAME, | 1388 | .name = DRIVER_NAME, |
1389 | .owner = THIS_MODULE, | ||
1390 | }, | 1389 | }, |
1391 | }; | 1390 | }; |
1392 | 1391 | ||
diff --git a/drivers/tty/serial/clps711x.c b/drivers/tty/serial/clps711x.c index acfe31773643..54626f99d49e 100644 --- a/drivers/tty/serial/clps711x.c +++ b/drivers/tty/serial/clps711x.c | |||
@@ -542,7 +542,6 @@ MODULE_DEVICE_TABLE(of, clps711x_uart_dt_ids); | |||
542 | static struct platform_driver clps711x_uart_platform = { | 542 | static struct platform_driver clps711x_uart_platform = { |
543 | .driver = { | 543 | .driver = { |
544 | .name = "clps711x-uart", | 544 | .name = "clps711x-uart", |
545 | .owner = THIS_MODULE, | ||
546 | .of_match_table = of_match_ptr(clps711x_uart_dt_ids), | 545 | .of_match_table = of_match_ptr(clps711x_uart_dt_ids), |
547 | }, | 546 | }, |
548 | .probe = uart_clps711x_probe, | 547 | .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 533852eb8778..5a59f8db3b80 100644 --- a/drivers/tty/serial/cpm_uart/cpm_uart_core.c +++ b/drivers/tty/serial/cpm_uart/cpm_uart_core.c | |||
@@ -1438,7 +1438,6 @@ static struct of_device_id cpm_uart_match[] = { | |||
1438 | static struct platform_driver cpm_uart_driver = { | 1438 | static struct platform_driver cpm_uart_driver = { |
1439 | .driver = { | 1439 | .driver = { |
1440 | .name = "cpm_uart", | 1440 | .name = "cpm_uart", |
1441 | .owner = THIS_MODULE, | ||
1442 | .of_match_table = cpm_uart_match, | 1441 | .of_match_table = cpm_uart_match, |
1443 | }, | 1442 | }, |
1444 | .probe = cpm_uart_probe, | 1443 | .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 6dd53af546a3..fd503c35defb 100644 --- a/drivers/tty/serial/fsl_lpuart.c +++ b/drivers/tty/serial/fsl_lpuart.c | |||
@@ -1876,7 +1876,6 @@ static struct platform_driver lpuart_driver = { | |||
1876 | .remove = lpuart_remove, | 1876 | .remove = lpuart_remove, |
1877 | .driver = { | 1877 | .driver = { |
1878 | .name = "fsl-lpuart", | 1878 | .name = "fsl-lpuart", |
1879 | .owner = THIS_MODULE, | ||
1880 | .of_match_table = lpuart_dt_ids, | 1879 | .of_match_table = lpuart_dt_ids, |
1881 | .pm = &lpuart_pm_ops, | 1880 | .pm = &lpuart_pm_ops, |
1882 | }, | 1881 | }, |
diff --git a/drivers/tty/serial/imx.c b/drivers/tty/serial/imx.c index 8f62a3cec23e..f2b81bdd4f02 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 4675fe198d31..6c10a9089f3b 100644 --- a/drivers/tty/serial/lantiq.c +++ b/drivers/tty/serial/lantiq.c | |||
@@ -743,7 +743,6 @@ MODULE_DEVICE_TABLE(of, ltq_asc_match); | |||
743 | static struct platform_driver lqasc_driver = { | 743 | static struct platform_driver lqasc_driver = { |
744 | .driver = { | 744 | .driver = { |
745 | .name = DRVNAME, | 745 | .name = DRVNAME, |
746 | .owner = THIS_MODULE, | ||
747 | .of_match_table = ltq_asc_match, | 746 | .of_match_table = ltq_asc_match, |
748 | }, | 747 | }, |
749 | }; | 748 | }; |
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 bc896dc7d2ed..89ac4e457ca5 100644 --- a/drivers/tty/serial/mcf.c +++ b/drivers/tty/serial/mcf.c | |||
@@ -693,7 +693,6 @@ static struct platform_driver mcf_platform_driver = { | |||
693 | .remove = mcf_remove, | 693 | .remove = mcf_remove, |
694 | .driver = { | 694 | .driver = { |
695 | .name = "mcfuart", | 695 | .name = "mcfuart", |
696 | .owner = THIS_MODULE, | ||
697 | }, | 696 | }, |
698 | }; | 697 | }; |
699 | 698 | ||
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 ae49856ef6c7..5f864287b508 100644 --- a/drivers/tty/serial/mpsc.c +++ b/drivers/tty/serial/mpsc.c | |||
@@ -2111,7 +2111,6 @@ static struct platform_driver mpsc_driver = { | |||
2111 | .remove = mpsc_drv_remove, | 2111 | .remove = mpsc_drv_remove, |
2112 | .driver = { | 2112 | .driver = { |
2113 | .name = MPSC_CTLR_NAME, | 2113 | .name = MPSC_CTLR_NAME, |
2114 | .owner = THIS_MODULE, | ||
2115 | }, | 2114 | }, |
2116 | }; | 2115 | }; |
2117 | 2116 | ||
diff --git a/drivers/tty/serial/msm_serial.c b/drivers/tty/serial/msm_serial.c index 4b6c78331a64..353725a51efb 100644 --- a/drivers/tty/serial/msm_serial.c +++ b/drivers/tty/serial/msm_serial.c | |||
@@ -1114,7 +1114,6 @@ static struct platform_driver msm_platform_driver = { | |||
1114 | .probe = msm_serial_probe, | 1114 | .probe = msm_serial_probe, |
1115 | .driver = { | 1115 | .driver = { |
1116 | .name = "msm_serial", | 1116 | .name = "msm_serial", |
1117 | .owner = THIS_MODULE, | ||
1118 | .of_match_table = msm_match_table, | 1117 | .of_match_table = msm_match_table, |
1119 | }, | 1118 | }, |
1120 | }; | 1119 | }; |
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 10c29334fe2f..b55892106a2e 100644 --- a/drivers/tty/serial/mxs-auart.c +++ b/drivers/tty/serial/mxs-auart.c | |||
@@ -1123,7 +1123,6 @@ static struct platform_driver mxs_auart_driver = { | |||
1123 | .remove = mxs_auart_remove, | 1123 | .remove = mxs_auart_remove, |
1124 | .driver = { | 1124 | .driver = { |
1125 | .name = "mxs-auart", | 1125 | .name = "mxs-auart", |
1126 | .owner = THIS_MODULE, | ||
1127 | .of_match_table = mxs_auart_dt_ids, | 1126 | .of_match_table = mxs_auart_dt_ids, |
1128 | }, | 1127 | }, |
1129 | }; | 1128 | }; |
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 8bc2563335ae..1f65e727c0ea 100644 --- a/drivers/tty/serial/of_serial.c +++ b/drivers/tty/serial/of_serial.c | |||
@@ -295,7 +295,6 @@ static struct of_device_id of_platform_serial_table[] = { | |||
295 | static struct platform_driver of_platform_serial_driver = { | 295 | static struct platform_driver of_platform_serial_driver = { |
296 | .driver = { | 296 | .driver = { |
297 | .name = "of_serial", | 297 | .name = "of_serial", |
298 | .owner = THIS_MODULE, | ||
299 | .of_match_table = of_platform_serial_table, | 298 | .of_match_table = of_platform_serial_table, |
300 | .pm = &of_serial_pm_ops, | 299 | .pm = &of_serial_pm_ops, |
301 | }, | 300 | }, |
diff --git a/drivers/tty/serial/pmac_zilog.c b/drivers/tty/serial/pmac_zilog.c index abbfedb84901..f03c23543ead 100644 --- a/drivers/tty/serial/pmac_zilog.c +++ b/drivers/tty/serial/pmac_zilog.c | |||
@@ -1874,7 +1874,6 @@ static struct platform_driver pmz_driver = { | |||
1874 | .remove = __exit_p(pmz_detach), | 1874 | .remove = __exit_p(pmz_detach), |
1875 | .driver = { | 1875 | .driver = { |
1876 | .name = "scc", | 1876 | .name = "scc", |
1877 | .owner = THIS_MODULE, | ||
1878 | }, | 1877 | }, |
1879 | }; | 1878 | }; |
1880 | 1879 | ||
diff --git a/drivers/tty/serial/pnx8xxx_uart.c b/drivers/tty/serial/pnx8xxx_uart.c index 2ba24a45c97f..928cc113c773 100644 --- a/drivers/tty/serial/pnx8xxx_uart.c +++ b/drivers/tty/serial/pnx8xxx_uart.c | |||
@@ -813,7 +813,6 @@ static int pnx8xxx_serial_remove(struct platform_device *pdev) | |||
813 | static struct platform_driver pnx8xxx_serial_driver = { | 813 | static struct platform_driver pnx8xxx_serial_driver = { |
814 | .driver = { | 814 | .driver = { |
815 | .name = "pnx8xxx-uart", | 815 | .name = "pnx8xxx-uart", |
816 | .owner = THIS_MODULE, | ||
817 | }, | 816 | }, |
818 | .probe = pnx8xxx_serial_probe, | 817 | .probe = pnx8xxx_serial_probe, |
819 | .remove = pnx8xxx_serial_remove, | 818 | .remove = pnx8xxx_serial_remove, |
diff --git a/drivers/tty/serial/pxa.c b/drivers/tty/serial/pxa.c index 21b7d8b86493..a3cd61d6a727 100644 --- a/drivers/tty/serial/pxa.c +++ b/drivers/tty/serial/pxa.c | |||
@@ -930,7 +930,6 @@ static struct platform_driver serial_pxa_driver = { | |||
930 | 930 | ||
931 | .driver = { | 931 | .driver = { |
932 | .name = "pxa2xx-uart", | 932 | .name = "pxa2xx-uart", |
933 | .owner = THIS_MODULE, | ||
934 | #ifdef CONFIG_PM | 933 | #ifdef CONFIG_PM |
935 | .pm = &serial_pxa_pm_ops, | 934 | .pm = &serial_pxa_pm_ops, |
936 | #endif | 935 | #endif |
diff --git a/drivers/tty/serial/sa1100.c b/drivers/tty/serial/sa1100.c index 753d4525b367..63989802caf2 100644 --- a/drivers/tty/serial/sa1100.c +++ b/drivers/tty/serial/sa1100.c | |||
@@ -883,7 +883,6 @@ static struct platform_driver sa11x0_serial_driver = { | |||
883 | .resume = sa1100_serial_resume, | 883 | .resume = sa1100_serial_resume, |
884 | .driver = { | 884 | .driver = { |
885 | .name = "sa11x0-uart", | 885 | .name = "sa11x0-uart", |
886 | .owner = THIS_MODULE, | ||
887 | }, | 886 | }, |
888 | }; | 887 | }; |
889 | 888 | ||
diff --git a/drivers/tty/serial/samsung.c b/drivers/tty/serial/samsung.c index c78f43a481ce..7961bf411432 100644 --- a/drivers/tty/serial/samsung.c +++ b/drivers/tty/serial/samsung.c | |||
@@ -1848,7 +1848,6 @@ static struct platform_driver samsung_serial_driver = { | |||
1848 | .id_table = s3c24xx_serial_driver_ids, | 1848 | .id_table = s3c24xx_serial_driver_ids, |
1849 | .driver = { | 1849 | .driver = { |
1850 | .name = "samsung-uart", | 1850 | .name = "samsung-uart", |
1851 | .owner = THIS_MODULE, | ||
1852 | .pm = SERIAL_SAMSUNG_PM_OPS, | 1851 | .pm = SERIAL_SAMSUNG_PM_OPS, |
1853 | .of_match_table = of_match_ptr(s3c24xx_uart_dt_match), | 1852 | .of_match_table = of_match_ptr(s3c24xx_uart_dt_match), |
1854 | }, | 1853 | }, |
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 eb17c7124e72..c0125df41c2d 100644 --- a/drivers/tty/serial/sh-sci.c +++ b/drivers/tty/serial/sh-sci.c | |||
@@ -2638,7 +2638,6 @@ static struct platform_driver sci_driver = { | |||
2638 | .remove = sci_remove, | 2638 | .remove = sci_remove, |
2639 | .driver = { | 2639 | .driver = { |
2640 | .name = "sh-sci", | 2640 | .name = "sh-sci", |
2641 | .owner = THIS_MODULE, | ||
2642 | .pm = &sci_dev_pm_ops, | 2641 | .pm = &sci_dev_pm_ops, |
2643 | .of_match_table = of_match_ptr(of_sci_match), | 2642 | .of_match_table = of_match_ptr(of_sci_match), |
2644 | }, | 2643 | }, |
diff --git a/drivers/tty/serial/sirfsoc_uart.c b/drivers/tty/serial/sirfsoc_uart.c index 4102192687ee..775a6e369e46 100644 --- a/drivers/tty/serial/sirfsoc_uart.c +++ b/drivers/tty/serial/sirfsoc_uart.c | |||
@@ -1477,7 +1477,6 @@ static struct platform_driver sirfsoc_uart_driver = { | |||
1477 | .remove = sirfsoc_uart_remove, | 1477 | .remove = sirfsoc_uart_remove, |
1478 | .driver = { | 1478 | .driver = { |
1479 | .name = SIRFUART_PORT_NAME, | 1479 | .name = SIRFUART_PORT_NAME, |
1480 | .owner = THIS_MODULE, | ||
1481 | .of_match_table = sirfsoc_uart_ids, | 1480 | .of_match_table = sirfsoc_uart_ids, |
1482 | .pm = &sirfsoc_uart_pm_ops, | 1481 | .pm = &sirfsoc_uart_pm_ops, |
1483 | }, | 1482 | }, |
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 b339fe4811cd..82a07a4fbf3b 100644 --- a/drivers/tty/serial/sunsab.c +++ b/drivers/tty/serial/sunsab.c | |||
@@ -1092,7 +1092,6 @@ MODULE_DEVICE_TABLE(of, sab_match); | |||
1092 | static struct platform_driver sab_driver = { | 1092 | static struct platform_driver sab_driver = { |
1093 | .driver = { | 1093 | .driver = { |
1094 | .name = "sab", | 1094 | .name = "sab", |
1095 | .owner = THIS_MODULE, | ||
1096 | .of_match_table = sab_match, | 1095 | .of_match_table = sab_match, |
1097 | }, | 1096 | }, |
1098 | .probe = sab_probe, | 1097 | .probe = sab_probe, |
diff --git a/drivers/tty/serial/sunsu.c b/drivers/tty/serial/sunsu.c index 5326ae195e5f..526331c146ef 100644 --- a/drivers/tty/serial/sunsu.c +++ b/drivers/tty/serial/sunsu.c | |||
@@ -1537,7 +1537,6 @@ MODULE_DEVICE_TABLE(of, su_match); | |||
1537 | static struct platform_driver su_driver = { | 1537 | static struct platform_driver su_driver = { |
1538 | .driver = { | 1538 | .driver = { |
1539 | .name = "su", | 1539 | .name = "su", |
1540 | .owner = THIS_MODULE, | ||
1541 | .of_match_table = su_match, | 1540 | .of_match_table = su_match, |
1542 | }, | 1541 | }, |
1543 | .probe = su_probe, | 1542 | .probe = su_probe, |
diff --git a/drivers/tty/serial/sunzilog.c b/drivers/tty/serial/sunzilog.c index 02df3940b95e..370546e085d3 100644 --- a/drivers/tty/serial/sunzilog.c +++ b/drivers/tty/serial/sunzilog.c | |||
@@ -1533,7 +1533,6 @@ MODULE_DEVICE_TABLE(of, zs_match); | |||
1533 | static struct platform_driver zs_driver = { | 1533 | static struct platform_driver zs_driver = { |
1534 | .driver = { | 1534 | .driver = { |
1535 | .name = "zs", | 1535 | .name = "zs", |
1536 | .owner = THIS_MODULE, | ||
1537 | .of_match_table = zs_match, | 1536 | .of_match_table = zs_match, |
1538 | }, | 1537 | }, |
1539 | .probe = zs_probe, | 1538 | .probe = zs_probe, |
diff --git a/drivers/tty/serial/timbuart.c b/drivers/tty/serial/timbuart.c index 0d11d5032b93..03e746378f1e 100644 --- a/drivers/tty/serial/timbuart.c +++ b/drivers/tty/serial/timbuart.c | |||
@@ -501,7 +501,6 @@ static int timbuart_remove(struct platform_device *dev) | |||
501 | static struct platform_driver timbuart_platform_driver = { | 501 | static struct platform_driver timbuart_platform_driver = { |
502 | .driver = { | 502 | .driver = { |
503 | .name = "timb-uart", | 503 | .name = "timb-uart", |
504 | .owner = THIS_MODULE, | ||
505 | }, | 504 | }, |
506 | .probe = timbuart_probe, | 505 | .probe = timbuart_probe, |
507 | .remove = timbuart_remove, | 506 | .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 | }; |