summaryrefslogtreecommitdiffstats
path: root/drivers/tty/serial/esp32_uart.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/tty/serial/esp32_uart.c')
-rw-r--r--drivers/tty/serial/esp32_uart.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/tty/serial/esp32_uart.c b/drivers/tty/serial/esp32_uart.c
index 8c86cf9cb763..667c2198a03a 100644
--- a/drivers/tty/serial/esp32_uart.c
+++ b/drivers/tty/serial/esp32_uart.c
@@ -743,7 +743,7 @@ static void esp32_uart_remove(struct platform_device *pdev)
static struct platform_driver esp32_uart_driver = {
.probe = esp32_uart_probe,
- .remove_new = esp32_uart_remove,
+ .remove = esp32_uart_remove,
.driver = {
.name = DRIVER_NAME,
.of_match_table = esp32_uart_dt_ids,