thermal: cpu_cooling: Rearrange struct cpufreq_cooling_device
authorViresh Kumar <viresh.kumar@linaro.org>
Tue, 25 Apr 2017 10:27:24 +0000 (15:57 +0530)
committerEduardo Valentin <edubezval@gmail.com>
Sun, 28 May 2017 00:33:02 +0000 (17:33 -0700)
commitd72b4015839cca333a8e0108b1739a50f03d2acc
treea4395ed94d1c91a2ed8e53c06ab14e379ab9c8c3
parentcb1b631864ad7e34324ceccb73d0226dd00ad90d
thermal: cpu_cooling: Rearrange struct cpufreq_cooling_device

This shrinks the size of the structure on arm64 by 8 bytes by avoiding
padding of 4 bytes at two places.

Also add missing doc comment for freq_table

Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Reviewed-by: Lukasz Luba <lukasz.luba@arm.com>
Tested-by: Lukasz Luba <lukasz.luba@arm.com>
Signed-off-by: Eduardo Valentin <edubezval@gmail.com>
drivers/thermal/cpu_cooling.c