diff options
author | Anson Huang <Anson.Huang@nxp.com> | 2018-09-13 17:13:06 +0800 |
---|---|---|
committer | Eduardo Valentin <edubezval@gmail.com> | 2018-10-22 17:37:05 -0700 |
commit | b6ad3981ff94b415d48399e949db0bdfbe360736 (patch) | |
tree | 2418126e5219be78e497b4866bc0f1ed74d8a8b5 /drivers/thermal/thermal_helpers.c | |
parent | 337a4aecdaf8fa53b16fbf48a73d328fb44ffb75 (diff) | |
download | lwn-b6ad3981ff94b415d48399e949db0bdfbe360736.tar.gz lwn-b6ad3981ff94b415d48399e949db0bdfbe360736.zip |
thermal: imx: handle error path in one place to save duplicated code
During probe phase, the error path can be handled in one place and
use goto method to save many duplicated code.
Signed-off-by: Anson Huang <Anson.Huang@nxp.com>
Reviewed-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Signed-off-by: Eduardo Valentin <edubezval@gmail.com>
Diffstat (limited to 'drivers/thermal/thermal_helpers.c')
0 files changed, 0 insertions, 0 deletions