summaryrefslogtreecommitdiff
path: root/drivers/thermal/power_allocator.c
diff options
context:
space:
mode:
authorAnson Huang <Anson.Huang@nxp.com>2018-09-13 17:13:06 +0800
committerEduardo Valentin <edubezval@gmail.com>2018-10-22 17:37:05 -0700
commitb6ad3981ff94b415d48399e949db0bdfbe360736 (patch)
tree2418126e5219be78e497b4866bc0f1ed74d8a8b5 /drivers/thermal/power_allocator.c
parent337a4aecdaf8fa53b16fbf48a73d328fb44ffb75 (diff)
downloadlwn-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/power_allocator.c')
0 files changed, 0 insertions, 0 deletions