Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 289b8dd6 authored by Alexander Shiyan's avatar Alexander Shiyan Committed by Greg Kroah-Hartman
Browse files

serial: sccnxp: Do not override device name

parent f4b208eb
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -789,8 +789,6 @@ static int sccnxp_probe(struct platform_device *pdev)
		return -EADDRNOTAVAIL;
	}

	dev_set_name(&pdev->dev, SCCNXP_NAME);

	s = devm_kzalloc(&pdev->dev, sizeof(struct sccnxp_port), GFP_KERNEL);
	if (!s) {
		dev_err(&pdev->dev, "Error allocating port structure\n");