diff options
author | Uwe Kleine-König | 2022-07-12 18:15:18 +0200 |
---|---|---|
committer | Thierry Reding | 2022-07-29 13:41:18 +0200 |
commit | 2ba1aede6d4184a6fd95bef3eda9acb1f40e2221 (patch) | |
tree | b75c231a487167c27e32aa0bc9528710a149e8e0 /drivers/thermal/rcar_gen3_thermal.c | |
parent | ea95b29983b999eac4522d50da78e6ba70c3d065 (diff) |
pwm: lpc18xx: Convert to use dev_err_probe()
This has various upsides:
- It emits the symbolic name of the error code
- It is silent in the EPROBE_DEFER case and properly sets the defer reason
- It reduces the number of code lines slightly
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
Diffstat (limited to 'drivers/thermal/rcar_gen3_thermal.c')
0 files changed, 0 insertions, 0 deletions