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

ARM: s3c24xx: Simplify size used for kzalloc in iotiming get



Simplify the size argument of kzalloc() memory allocation by using
sizeof(*ptr) syntax.

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 b3b391f8
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment