commit | e498b4984db82b4ba3ceea7dba813222a31e9c2e | [log] [tgz] |
---|---|---|
author | Laxman Dewangan <ldewangan@nvidia.com> | Wed Mar 09 18:40:06 2016 +0530 |
committer | Eduardo Valentin <edubezval@gmail.com> | Wed Mar 09 10:31:20 2016 -0800 |
tree | 5ce061bc5e4c485d6b9aa1a9ce47144fec68e986 | |
parent | 3a7fd9c737e2c124d20c351529316d71962cf6ca [diff] |
thermal: of-thermal: Add devm version of thermal_zone_of_sensor_register Add resource managed version of thermal_zone_of_sensor_register() and thermal_zone_of_sensor_unregister(). This helps in reducing the code size in error path, remove of driver remove callbacks and making proper sequence for deallocations. Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com> Signed-off-by: Eduardo Valentin <edubezval@gmail.com>