aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_sched.c
diff options
context:
space:
mode:
authorSascha Hauer <[email protected]>2015-07-06 07:46:16 +0000
committerZhang Rui <[email protected]>2015-08-03 15:15:51 +0000
commit79e5421cf0bd9b3e56f523e95e3511757edb9616 (patch)
treece7dd7b6a8a11da4a9406a360d69189f0a47f9bd /drivers/gpu/drm/amd/amdgpu/amdgpu_sched.c
parentthermal: remove unnecessary call to thermal_zone_device_set_polling (diff)
downloadkernel-79e5421cf0bd9b3e56f523e95e3511757edb9616.tar.gz
kernel-79e5421cf0bd9b3e56f523e95e3511757edb9616.zip
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: Sascha Hauer <[email protected]> Reviewed-by: Lukasz Majewski <[email protected]> Signed-off-by: Zhang Rui <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_sched.c')
0 files changed, 0 insertions, 0 deletions