thermal: core: move to_cooling_device macro to header file
authorEduardo Valentin <edubezval@gmail.com>
Tue, 8 Nov 2016 05:09:01 +0000 (21:09 -0800)
committerZhang Rui <rui.zhang@intel.com>
Wed, 23 Nov 2016 02:06:12 +0000 (10:06 +0800)
commit99ea2eff91080740d91df6ce5bfdfba666a4a035
tree78146714fb462d7f265df8fa49619eef9d49b295
parenta369ee88f7f6059a582087dc8bd9fc42b2731f5b
thermal: core: move to_cooling_device macro to header file

Make the to_cooling_device() macro available across
files in thermal core.

Cc: Zhang Rui <rui.zhang@intel.com>
Cc: linux-pm@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Eduardo Valentin <edubezval@gmail.com>
Signed-off-by: Zhang Rui <rui.zhang@intel.com>
drivers/thermal/thermal_core.c
drivers/thermal/thermal_core.h