Skip to content
Commit 09e1cf82 authored by Markus Elfring's avatar Markus Elfring Committed by Krzysztof Kozlowski
Browse files

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: default avatarMarkus Elfring <elfring@users.sourceforge.net>
[krzk: Rewrite commit message]
Signed-off-by: default avatarKrzysztof Kozlowski <krzk@kernel.org>
parent a3d1d8a7
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment