commit | adad7c7d6a0ce3e9308fc6596865cdf570b5c466 | [log] [tgz] |
---|---|---|
author | Julia Lawall <Julia.Lawall@lip6.fr> | Tue Oct 30 17:08:51 2018 +0100 |
committer | Eduardo Valentin <edubezval@gmail.com> | Wed Jan 02 04:47:09 2019 -0800 |
tree | 675906d0e256e0a185917d868ba9c89f11ce566f | |
parent | d56c19d07e0bc3ceff366a49b7d7a2440c967b1b [diff] |
thermal: broadcom: use devm_thermal_zone_of_sensor_register Using devm_thermal_zone_of_sensor_register allows to simplify some error handling code, drop a label, and drop the remove function. Signed-off-by: Julia Lawall <Julia.Lawall@lip6.fr> Reviewed-by: Daniel Lezcano <daniel.lezcano@linaro.org> Signed-off-by: Eduardo Valentin <edubezval@gmail.com>