commit | d109d74c4cda019653f8f31d3030d8ff28caa994 | [log] [tgz] |
---|---|---|
author | Anson Huang <Anson.Huang@nxp.com> | Tue Aug 11 14:24:31 2020 +0800 |
committer | Thierry Reding <thierry.reding@gmail.com> | Thu Dec 17 14:18:47 2020 +0100 |
tree | 333a456efc72ca61104f64b1ceb2c61a5d8d2859 | |
parent | 168cc32920effa8b85b828fa4cb53f3e3e98f6d4 [diff] |
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>