thermal: devfreq_cooling: use a thermal_cooling_device for register and unregister
authorJavi Merino <javi.merino@arm.com>
Mon, 2 Nov 2015 19:03:03 +0000 (19:03 +0000)
committerEduardo Valentin <edubezval@gmail.com>
Mon, 2 Nov 2015 21:14:44 +0000 (13:14 -0800)
commit3c99c2cef75eb5bfc05c5728e4560f3ee656d47e
tree9fe73987c16ee8d1eae257e3f569a78b21d9b1c7
parent8fb2b9ac2aadd6d87f89071c2c85f8c12b41c943
thermal: devfreq_cooling: use a thermal_cooling_device for register and unregister

Be consistent with what other cooling devices do and return a struct
thermal_cooling_device * on register.  Also, for the unregister, accept
a struct thermal_cooling_device * as parameter.

Cc: Zhang Rui <rui.zhang@intel.com>
Cc: Eduardo Valentin <edubezval@gmail.com>
Signed-off-by: Javi Merino <javi.merino@arm.com>
Signed-off-by: Eduardo Valentin <edubezval@gmail.com>
drivers/thermal/devfreq_cooling.c
include/linux/devfreq_cooling.h
This page took 0.026327 seconds and 5 git commands to generate.