pwm: Use kcalloc() instead of kzalloc()
authorThierry Reding <thierry.reding@gmail.com>
Mon, 2 May 2016 10:07:34 +0000 (12:07 +0200)
committerThierry Reding <thierry.reding@gmail.com>
Tue, 3 May 2016 11:57:05 +0000 (13:57 +0200)
commit2907f8abb7ec3aec85ceaaf03dfbc16cca0018dc
tree0bd9a54686209b0ae81db58c4888a79f15a7370f
parent83a98864ff62b23dfa93baeaaf340741e263c02b
pwm: Use kcalloc() instead of kzalloc()

kcalloc() should be preferred for allocations of arrays over kzalloc()
with multiplication.

Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
drivers/pwm/core.c