commit | 3025c9c669bac6c193a8f5fc2570f705b675eb40 | [log] [tgz] |
---|---|---|
author | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | Sun Mar 10 12:00:55 2024 +0100 |
committer | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | Fri Apr 26 21:29:16 2024 +0200 |
tree | 232a411cc5558da644466cb56a059026a7177c88 | |
parent | 5bb0b194aeee5d5da6881232f4e9989b35957c25 [diff] |
pwm: sti: Improve error reporting using dev_err_probe() This has the advantage of handling EPROBE_DEFER correctly and being more compact. This change also introduces an error message for a few error paths that lacked an error indicator before. Also sti_pwm_probe_dt() is renamed to sti_pwm_probe_regmap() to better fit what it actually does. Link: https://lore.kernel.org/r/8e540733ab882f2b8873712faf85c4f0cb48133a.1710068192.git.u.kleine-koenig@pengutronix.de Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>