summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-exynos
diff options
context:
space:
mode:
authorMarkus Elfring <elfring@users.sourceforge.net>2017-10-04 09:52:33 +0200
committerKrzysztof Kozlowski <krzk@kernel.org>2017-10-04 21:09:33 +0200
commit09e1cf829c45a2f030c7fd49533a86b0935d068a (patch)
tree52ab300b6428e54149d23457ddc6a746e88cdbe2 /arch/arm/mach-exynos
parentARM: SAMSUNG: Remove printk for failed memory allocation (diff)
downloadlinux-09e1cf829c45a2f030c7fd49533a86b0935d068a.tar.xz
linux-09e1cf829c45a2f030c7fd49533a86b0935d068a.zip
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>
Diffstat (limited to 'arch/arm/mach-exynos')
0 files changed, 0 insertions, 0 deletions