commit | 5f3c0200b15ab6bac4f08cf525fe56c8190fd9e3 | [log] [tgz] |
---|---|---|
author | Anson Huang <Anson.Huang@nxp.com> | Tue Aug 11 14:59:44 2020 +0800 |
committer | Daniel Lezcano <daniel.lezcano@linaro.org> | Mon Oct 12 12:08:34 2020 +0200 |
tree | 81a6751393b8021e249ee598a18d86f79da5b137 | |
parent | c071cde00bd52a0b8ca0024eb8b5dbe2430c2c3c [diff] |
thermal: imx: 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> Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org> Link: https://lore.kernel.org/r/1597129185-8460-1-git-send-email-Anson.Huang@nxp.com