]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blobdiff - drivers/tty/serial/atmel_serial.c
serial: remove unnecessary platform_set_drvdata()
[mirror_ubuntu-bionic-kernel.git] / drivers / tty / serial / atmel_serial.c
index 0e39facfcb07c549074d74342c720652ed3f657c..5c17f8dac91bd30be63815288cbe1824f425388b 100644 (file)
@@ -1860,7 +1860,6 @@ static int atmel_serial_remove(struct platform_device *pdev)
        int ret = 0;
 
        device_init_wakeup(&pdev->dev, 0);
-       platform_set_drvdata(pdev, NULL);
 
        ret = uart_remove_one_port(&atmel_uart, port);