diff options
author | Anson Huang <Anson.Huang@nxp.com> | 2020-08-11 09:24:31 +0300 |
---|---|---|
committer | Thierry Reding <thierry.reding@gmail.com> | 2020-12-17 16:18:47 +0300 |
commit | d109d74c4cda019653f8f31d3030d8ff28caa994 (patch) | |
tree | 333a456efc72ca61104f64b1ceb2c61a5d8d2859 /drivers/pwm/pwm-imx1.c | |
parent | 168cc32920effa8b85b828fa4cb53f3e3e98f6d4 (diff) | |
download | linux-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