summaryrefslogtreecommitdiff
path: root/drivers/pwm/pwm-imx1.c
diff options
context:
space:
mode:
authorAnson Huang <Anson.Huang@nxp.com>2020-08-11 09:24:31 +0300
committerThierry Reding <thierry.reding@gmail.com>2020-12-17 16:18:47 +0300
commitd109d74c4cda019653f8f31d3030d8ff28caa994 (patch)
tree333a456efc72ca61104f64b1ceb2c61a5d8d2859 /drivers/pwm/pwm-imx1.c
parent168cc32920effa8b85b828fa4cb53f3e3e98f6d4 (diff)
downloadlinux-d109d74c4cda019653f8f31d3030d8ff28caa994.tar.xz
pwm: imx27: Use dev_err_probe() to simplify error handling
dev_err_probe() can reduce code size, uniform error handling and record the defer probe reason etc., use it to simplify the code. Signed-off-by: Anson Huang <Anson.Huang@nxp.com> Acked-by: Lee Jones <lee.jones@linaro.org> Acked-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
Diffstat (limited to 'drivers/pwm/pwm-imx1.c')
0 files changed, 0 insertions, 0 deletions