[tip: timers/clocksource] clocksource/drivers/timer-tegra186: Don't print superfluous errors

tip-bot2 for Wolfram Sang posted 1 patch 6 days, 2 hours ago
drivers/clocksource/timer-tegra186.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
[tip: timers/clocksource] clocksource/drivers/timer-tegra186: Don't print superfluous errors
Posted by tip-bot2 for Wolfram Sang 6 days, 2 hours ago
The following commit has been merged into the timers/clocksource branch of tip:

Commit-ID:     764d0654114b5ce52aafabdb2bf9ccee0e998651
Gitweb:        https://git.kernel.org/tip/764d0654114b5ce52aafabdb2bf9ccee0e998651
Author:        Wolfram Sang <wsa+renesas@sang-engineering.com>
AuthorDate:    Wed, 13 Aug 2025 21:06:58 +02:00
Committer:     Daniel Lezcano <daniel.lezcano@linaro.org>
CommitterDate: Tue, 23 Sep 2025 12:41:39 +02:00

clocksource/drivers/timer-tegra186: Don't print superfluous errors

The watchdog core will handle error messages already.

Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Reviewed-by: Mikko Perttunen <mperttunen@nvidia.com>
Link: https://lore.kernel.org/r/20250813190657.3628-2-wsa+renesas@sang-engineering.com
---
 drivers/clocksource/timer-tegra186.c | 8 ++------
 1 file changed, 2 insertions(+), 6 deletions(-)

diff --git a/drivers/clocksource/timer-tegra186.c b/drivers/clocksource/timer-tegra186.c
index 1ec7b38..3555588 100644
--- a/drivers/clocksource/timer-tegra186.c
+++ b/drivers/clocksource/timer-tegra186.c
@@ -333,16 +333,12 @@ static struct tegra186_wdt *tegra186_wdt_create(struct tegra186_timer *tegra,
 	wdt->base.parent = tegra->dev;
 
 	err = watchdog_init_timeout(&wdt->base, 5, tegra->dev);
-	if (err < 0) {
-		dev_err(tegra->dev, "failed to initialize timeout: %d\n", err);
+	if (err < 0)
 		return ERR_PTR(err);
-	}
 
 	err = devm_watchdog_register_device(tegra->dev, &wdt->base);
-	if (err < 0) {
-		dev_err(tegra->dev, "failed to register WDT: %d\n", err);
+	if (err < 0)
 		return ERR_PTR(err);
-	}
 
 	return wdt;
 }