mirror of
https://github.com/torvalds/linux.git
synced 2026-05-25 23:52:08 +02:00
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:
parent
55df384148
commit
ba9eddc43f
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user