diff options
author | Fabio Estevam <fabio.estevam@nxp.com> | 2018-07-28 16:17:49 -0300 |
---|---|---|
committer | Eduardo Valentin <edubezval@gmail.com> | 2018-08-20 11:29:42 -0700 |
commit | f1506a69e3e72196c7c5ce4fd420d5e1a6965ed3 (patch) | |
tree | 893c594c6ab80dc21cc79afe72fb373783bfc230 /tools/perf/scripts/python/net_dropmonitor.py | |
parent | 2ad0d52699700a91660a406a4046017a2d7f246a (diff) |
thermal: qoriq: Use devm_thermal_zone_of_sensor_register()
By using the managed devm_thermal_zone_of_sensor_register() we can
drop the explicit call to thermal_zone_of_sensor_unregister() in the
qoriq_tmu_remove() function, which simplifies the code a bit.
So switch to devm_thermal_zone_of_sensor_register().
Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
Reviewed-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Signed-off-by: Eduardo Valentin <edubezval@gmail.com>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions