Unverified Commit ba9eddc4 authored by Wolfram Sang's avatar Wolfram Sang Committed by Ilpo Järvinen
Browse files

platform/x86: portwell-ec: don't print superfluous errors

parent 55df3841
Loading
Loading
Loading
Loading
+1 −7
Original line number Diff line number Diff line
@@ -238,13 +238,7 @@ static int pwec_probe(struct platform_device *pdev)
	}

	ec_wdt_dev.parent = &pdev->dev;
	ret = devm_watchdog_register_device(&pdev->dev, &ec_wdt_dev);
	if (ret < 0) {
		dev_err(&pdev->dev, "failed to register Portwell EC Watchdog\n");
		return ret;
	}

	return 0;
	return devm_watchdog_register_device(&pdev->dev, &ec_wdt_dev);
}

static int pwec_suspend(struct device *dev)