rda-uart.c (36ec807b627b4c0a0a382f0ae48eac7187d14b2b) rda-uart.c (5cbb9b1705ab8d98ed96affa4ec399023a22b755)
1// SPDX-License-Identifier: GPL-2.0+
2/*
3 * RDA8810PL serial device driver
4 *
5 * Copyright RDA Microelectronics Company Limited
6 * Copyright (c) 2017 Andreas Färber
7 * Copyright (c) 2018 Manivannan Sadhasivam
8 */

--- 763 unchanged lines hidden (view full) ---

772 struct rda_uart_port *rda_port = platform_get_drvdata(pdev);
773
774 uart_remove_one_port(&rda_uart_driver, &rda_port->port);
775 rda_uart_ports[pdev->id] = NULL;
776}
777
778static struct platform_driver rda_uart_platform_driver = {
779 .probe = rda_uart_probe,
1// SPDX-License-Identifier: GPL-2.0+
2/*
3 * RDA8810PL serial device driver
4 *
5 * Copyright RDA Microelectronics Company Limited
6 * Copyright (c) 2017 Andreas Färber
7 * Copyright (c) 2018 Manivannan Sadhasivam
8 */

--- 763 unchanged lines hidden (view full) ---

772 struct rda_uart_port *rda_port = platform_get_drvdata(pdev);
773
774 uart_remove_one_port(&rda_uart_driver, &rda_port->port);
775 rda_uart_ports[pdev->id] = NULL;
776}
777
778static struct platform_driver rda_uart_platform_driver = {
779 .probe = rda_uart_probe,
780 .remove_new = rda_uart_remove,
780 .remove = rda_uart_remove,
781 .driver = {
782 .name = "rda-uart",
783 .of_match_table = rda_uart_dt_matches,
784 },
785};
786
787static int __init rda_uart_init(void)
788{

--- 25 unchanged lines hidden ---
781 .driver = {
782 .name = "rda-uart",
783 .of_match_table = rda_uart_dt_matches,
784 },
785};
786
787static int __init rda_uart_init(void)
788{

--- 25 unchanged lines hidden ---