diff --git a/drivers/tty/serial/uartlite.c b/drivers/tty/serial/uartlite.c index fc567659e5eb03..9d18616c8c07b4 100644 --- a/drivers/tty/serial/uartlite.c +++ b/drivers/tty/serial/uartlite.c @@ -953,7 +953,7 @@ static int ulite_probe(struct platform_device *pdev) pm_runtime_set_suspended(&pdev->dev); pm_runtime_dont_use_autosuspend(&pdev->dev); err_out_unregister_driver: - uart_unregister_driver(pdata->ulite_uart_driver); + uart_unregister_driver(ulite_uart_driver); err_out_id: mutex_lock(&bitmap_lock); clear_bit(pdata->id, bitmap);