Skip to content
Commit b6ad3981 authored by Anson Huang's avatar Anson Huang Committed by Eduardo Valentin
Browse files

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: default avatarAnson Huang <Anson.Huang@nxp.com>
Reviewed-by: default avatarDaniel Lezcano <daniel.lezcano@linaro.org>
Signed-off-by: default avatarEduardo Valentin <edubezval@gmail.com>
parent 337a4aec
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment