summaryrefslogtreecommitdiff
path: root/drivers/thermal/imx_thermal.c
diff options
context:
space:
mode:
authorViresh Kumar <viresh.kumar@linaro.org>2017-05-23 10:03:06 +0300
committerEduardo Valentin <edubezval@gmail.com>2017-05-28 03:33:04 +0300
commitf19b1a1735f7453c35031ed5ca3883f20176dde6 (patch)
tree3348826afcc73055ae91cf3b2cb2db2828c485c3 /drivers/thermal/imx_thermal.c
parentd72b4015839cca333a8e0108b1739a50f03d2acc (diff)
downloadlinux-f19b1a1735f7453c35031ed5ca3883f20176dde6.tar.xz
thermal: cpu_cooling: Replace kmalloc with kmalloc_array
Checkpatch reports following: WARNING: Prefer kmalloc_array over kmalloc with multiply + cpufreq_cdev->freq_table = kmalloc(sizeof(*cpufreq_cdev->freq_table) * i, Fix that. Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org> Signed-off-by: Eduardo Valentin <edubezval@gmail.com>
Diffstat (limited to 'drivers/thermal/imx_thermal.c')
0 files changed, 0 insertions, 0 deletions