commit | 3c99c2cef75eb5bfc05c5728e4560f3ee656d47e | [log] [tgz] |
---|---|---|
author | Javi Merino <javi.merino@arm.com> | Mon Nov 02 19:03:03 2015 +0000 |
committer | Eduardo Valentin <edubezval@gmail.com> | Mon Nov 02 13:14:44 2015 -0800 |
tree | 9fe73987c16ee8d1eae257e3f569a78b21d9b1c7 | |
parent | 8fb2b9ac2aadd6d87f89071c2c85f8c12b41c943 [diff] |
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>