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

The watchdog core will handle error messages already.

Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Reviewed-by: Yen-Chi Huang <jesse.huang@portwell.com.tw>
Tested-by: Yen-Chi Huang <jesse.huang@portwell.com.tw>
Link: https://lore.kernel.org/r/20250813191416.6860-2-wsa+renesas@sang-engineering.com
Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
This commit is contained in:
Wolfram Sang 2025-08-13 21:13:44 +02:00 committed by Ilpo Järvinen
parent 55df384148
commit ba9eddc43f
No known key found for this signature in database
GPG Key ID: 59AC4F6153E5CE31

View File

@ -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)