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>
This commit is contained in:
Markus Elfring 2017-10-04 09:52:33 +02:00 • committed by Krzysztof Kozlowski
commit 09e1cf829c
2 changed files with 13 additions and 24 deletions