Skip to content
Commit 79e5421c authored by Sascha Hauer's avatar Sascha Hauer Committed by Zhang Rui
Browse files

thermal: Use IS_ENABLED instead of #ifdef



Use IS_ENABLED(CONFIG_THERMAL_EMULATION) to make the code more readable
and to get rid of the addtional #ifdef around the variable definitions
in thermal_zone_get_temp().

Signed-off-by: default avatarSascha Hauer <s.hauer@pengutronix.de>
Reviewed-by: default avatarLukasz Majewski <l.majewski@samsung.com>
Signed-off-by: default avatarZhang Rui <rui.zhang@intel.com>
parent dbdf2532
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment