diff options
Diffstat (limited to 'drivers/tty/serial/sccnxp.c')
-rw-r--r-- | drivers/tty/serial/sccnxp.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/tty/serial/sccnxp.c b/drivers/tty/serial/sccnxp.c index 08dbfb88d42c..b1d04aabd50c 100644 --- a/drivers/tty/serial/sccnxp.c +++ b/drivers/tty/serial/sccnxp.c | |||
@@ -789,8 +789,6 @@ static int sccnxp_probe(struct platform_device *pdev) | |||
789 | return -EADDRNOTAVAIL; | 789 | return -EADDRNOTAVAIL; |
790 | } | 790 | } |
791 | 791 | ||
792 | dev_set_name(&pdev->dev, SCCNXP_NAME); | ||
793 | |||
794 | s = devm_kzalloc(&pdev->dev, sizeof(struct sccnxp_port), GFP_KERNEL); | 792 | s = devm_kzalloc(&pdev->dev, sizeof(struct sccnxp_port), GFP_KERNEL); |
795 | if (!s) { | 793 | if (!s) { |
796 | dev_err(&pdev->dev, "Error allocating port structure\n"); | 794 | dev_err(&pdev->dev, "Error allocating port structure\n"); |