diff options
author | Julia Lawall <Julia.Lawall@lip6.fr> | 2018-10-30 17:08:51 +0100 |
---|---|---|
committer | Eduardo Valentin <edubezval@gmail.com> | 2019-01-02 04:47:09 -0800 |
commit | adad7c7d6a0ce3e9308fc6596865cdf570b5c466 (patch) | |
tree | 675906d0e256e0a185917d868ba9c89f11ce566f /Documentation | |
parent | d56c19d07e0bc3ceff366a49b7d7a2440c967b1b (diff) | |
download | lwn-adad7c7d6a0ce3e9308fc6596865cdf570b5c466.tar.gz lwn-adad7c7d6a0ce3e9308fc6596865cdf570b5c466.zip |
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>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions