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: NMarkus Elfring <elfring@users.sourceforge.net> [krzk: Rewrite commit message] Signed-off-by: NKrzysztof Kozlowski <krzk@kernel.org>
Showing
想要评论请 注册 或 登录