summaryrefslogtreecommitdiff
path: root/security/Kconfig
diff options
context:
space:
mode:
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>2023-03-07 09:56:03 +0300
committerWim Van Sebroeck <wim@linux-watchdog.org>2023-04-22 13:53:56 +0300
commite0e0ee02e616269451dd00ff56be0328d5625a92 (patch)
tree82fa8a2c9dea89bc7c30657770968a707a1ca7fa /security/Kconfig
parent16d477a1dba9f214d1229d0a122d6d3a9636aa79 (diff)
downloadlinux-e0e0ee02e616269451dd00ff56be0328d5625a92.tar.xz
watchdog: s3c2410_wdt: Simplify using dev_err_probe()
Make use of dev_err_probe() also for error paths that don't have to handle -EPROBE_DEFER. While the code handing -EPROBE_DEFER isn't used for these error paths, it still simpler as it cares for pretty printing the error code and usually needs one code line less as it combines message emitting and error returning. This also unifies the format of the error messages. Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Reviewed-by: Guenter Roeck <linux@roeck-us.net> Link: https://lore.kernel.org/r/20230307065603.2253054-3-u.kleine-koenig@pengutronix.de [groeck: Split long line to avoid checkpatch warning] Signed-off-by: Guenter Roeck <linux@roeck-us.net> Signed-off-by: Wim Van Sebroeck <wim@linux-watchdog.org>
Diffstat (limited to 'security/Kconfig')
0 files changed, 0 insertions, 0 deletions