staging: vchiq_arm: Prefer kzalloc(sizeof(*waiter)...)
authorStefan Wahren <stefan.wahren@i2se.com>
Sat, 15 May 2021 19:10:49 +0000 (21:10 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 19 May 2021 15:56:31 +0000 (17:56 +0200)
commita140f3a02a50e6da36d5539a219420684cf3c021
tree32c38ba0523e85629d3d711dd4762a9ada667d17
parent618150c1252ade0a0a4b7fee60e1f89b97f7d392
staging: vchiq_arm: Prefer kzalloc(sizeof(*waiter)...)

It's shorter and easier to maintain. This has been found with checkpatch.

Signed-off-by: Stefan Wahren <stefan.wahren@i2se.com>
Link: https://lore.kernel.org/r/1621105859-30215-11-git-send-email-stefan.wahren@i2se.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c