Hello Laxman,
Minor as follows.
Can you please run ./scripts/checkpatch.pl --strict on this and remove
the warnings, errors, checks?
Sure, I saw that thermal_zone_of_sensor_register/unregister is also not documented.
On Fri, Mar 04, 2016 at 07:10:08PM +0530, Laxman Dewangan wrote:
Add resource managed version of thermal_zone_of_sensor_register() andCould you also please document these under
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@xxxxxxxxxx>
---
drivers/thermal/of-thermal.c | 81 ++++++++++++++++++++++++++++++++++++++++++++
include/linux/thermal.h | 18 ++++++++++
Documentation/thermal/sysfs-api.txt?