diff options
author | Jinjie Ruan <ruanjinjie@huawei.com> | 2023-09-01 10:09:29 +0300 |
---|---|---|
committer | Wim Van Sebroeck <wim@linux-watchdog.org> | 2023-10-11 19:53:34 +0300 |
commit | db7673e6d5783a8664840b9218f58b5b836603ce (patch) | |
tree | b437f65bd5cd00190798e91fd04c50887ba631fa /drivers/mfd | |
parent | 15f0f6d2ee05392ce05244a1aadc8b564099672d (diff) | |
download | linux-db7673e6d5783a8664840b9218f58b5b836603ce.tar.xz |
Watchdog: marvell_gti_wdt: Remove redundant dev_err_probe() for platform_get_irq()
Since commit 7723f4c5ecdb ("driver core: platform: Add an error message
to platform_get_irq*()"), there is no need to call the dev_err_probe()
function directly to print a custom message when handling an error
from platform_get_irq() function as it is going to display an appropriate
error message in case of a failure.
Fixes: ef9e7fe2c890 ("Watchdog: Add marvell GTI watchdog driver")
Signed-off-by: Jinjie Ruan <ruanjinjie@huawei.com>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Link: https://lore.kernel.org/r/20230901070929.1317982-1-ruanjinjie@huawei.com
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Wim Van Sebroeck <wim@linux-watchdog.org>
Diffstat (limited to 'drivers/mfd')
0 files changed, 0 insertions, 0 deletions