thermal: Change IS_ENABLED to IFDEF in the header file
authorDaniel Lezcano <daniel.lezcano@linaro.org>
Thu, 2 Apr 2020 14:27:45 +0000 (16:27 +0200)
committerDaniel Lezcano <daniel.lezcano@linaro.org>
Tue, 14 Apr 2020 09:41:12 +0000 (11:41 +0200)
commit60518260cab21e749704baa5246ff13f7559fa91
tree8c7e70f07f94b5ab634a31b2fd0457ff00239e9c
parent06f1041f5023c00a54f63c269b997c61d1b3b739
thermal: Change IS_ENABLED to IFDEF in the header file

The thermal framework can not be compiled as a module. The IS_ENABLED
macro is useless here and can be replaced by an ifdef.

Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Reviewed-by: Amit Kucheria <amit.kucheria@linaro.org>
Acked-by: Zhang Rui <rui.zhang@intel.com>
Link: https://lore.kernel.org/r/20200402142747.8307-7-daniel.lezcano@linaro.org
include/linux/thermal.h