linux_dsm_epyc7002/arch/arm/plat-samsung
Markus Elfring 09e1cf829c ARM: SAMSUNG: Simplify size used for kzalloc
Simplify the size argument of kzalloc() memory allocation by using
sizeof(*ptr) syntax in adc.c and devs.c.

This issue was detected by using the Coccinelle software.

Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
[krzk: Rewrite commit message]
Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
2017-10-04 21:09:33 +02:00
..
include/plat ARM: s3c24xx: Remove non-existing CONFIG_CPU_S3C2413 2017-07-20 07:17:43 +02:00
adc.c ARM: SAMSUNG: Simplify size used for kzalloc 2017-10-04 21:09:33 +02:00
cpu.c ARM: SAMSUNG: Constify iomem address passed to s5p_init_cpu 2016-07-06 08:12:27 +02:00
dev-uart.c
devs.c ARM: SAMSUNG: Simplify size used for kzalloc 2017-10-04 21:09:33 +02:00
gpio-samsung.c ARM: SoC multiplatform code changes for v4.5 2016-01-20 18:03:56 -08:00
init.c ARM: s3c64xx: prepare initcalls for multiplatform 2015-12-01 21:50:24 +01:00
Kconfig ARM: s3c64xx: multiplatform support 2015-12-01 21:50:26 +01:00
Makefile ARM: s3c64xx: multiplatform support 2015-12-01 21:50:26 +01:00
platformdata.c ARM: SAMSUNG: Remove printk for failed memory allocation 2017-10-04 21:09:19 +02:00
pm-check.c ARM: SAMSUNG: Fix typos 2016-05-30 09:13:11 +02:00
pm-common.c ARM: SAMSUNG: Fixup usage of __raw IO in PM 2016-06-21 13:26:33 +02:00
pm-debug.c ARM: S3C24XX: fix header file inclusions 2015-02-27 05:50:23 +09:00
pm-gpio.c Merge branch 'cleanup/gpio-header-removal' into next/soc 2014-07-26 18:00:40 +02:00
pm.c ARM: s3c64xx: allow building without board support 2015-12-01 21:50:26 +01:00
wakeup-mask.c ARM: SAMSUNG: Constify array of wake irqs passed to samsung_sync_wakemask 2016-12-29 15:40:51 +02:00
watchdog-reset.c ARM: SAMSUNG: Fix typos 2016-05-30 09:13:11 +02:00