OpenCloudOS-Kernel/drivers/thermal/ti-soc-thermal
Markus Elfring 748c23d886 ti-soc-thermal: Use devm_kcalloc() in ti_bandgap_build()
A multiplication for the size determination of a memory allocation
indicated that an array data structure should be processed.
Thus use the corresponding function "devm_kcalloc".

This issue was detected by using the Coccinelle software.

Acked-by: Keerthy <j-keerthy@ti.com>
Tested-by: Keerthy <j-keerthy@ti.com>
Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
Signed-off-by: Eduardo Valentin <edubezval@gmail.com>
2017-05-23 20:06:56 -07:00
..
Kconfig thermal: ti-soc-thermal: Remove CPU_THERMAL Dependency from TI_THERMAL 2017-02-18 17:43:56 -08:00
Makefile ti-soc-thermal: implement omap3 support 2015-09-29 14:08:24 -07:00
TODO thermal: introduce TI SoC thermal driver 2013-05-28 10:40:37 +08:00
dra752-bandgap.h thermal: arm: dra752: Remove all TSHUT related definitions 2017-02-18 17:44:18 -08:00
dra752-thermal-data.c thermal: ti-soc-thermal: Remove redundant constants 2017-03-29 22:14:51 -07:00
omap3-thermal-data.c thermal: ti-soc-thermal: Remove redundant constants 2017-03-29 22:14:51 -07:00
omap4-thermal-data.c thermal: ti-soc-thermal: Remove redundant constants 2017-03-29 22:14:51 -07:00
omap4xxx-bandgap.h thermal: introduce TI SoC thermal driver 2013-05-28 10:40:37 +08:00
omap5-thermal-data.c thermal: ti-soc-thermal: Remove redundant constants 2017-03-29 22:14:51 -07:00
omap5xxx-bandgap.h thermal: introduce TI SoC thermal driver 2013-05-28 10:40:37 +08:00
ti-bandgap.c ti-soc-thermal: Use devm_kcalloc() in ti_bandgap_build() 2017-05-23 20:06:56 -07:00
ti-bandgap.h thermal: ti-soc-thermal: Remove redundant constants 2017-03-29 22:14:51 -07:00
ti-thermal-common.c thermal: ti-soc-thermal: Remove redundant code 2017-03-29 22:15:18 -07:00
ti-thermal.h thermal: ti-soc-thermal: Remove redundant constants 2017-03-29 22:14:51 -07:00