staging: kpc2000: use kzalloc(sizeof(var)...) in cell_probe.c
authorSimon Sandström <simon@nikanor.nu>
Thu, 23 May 2019 12:51:40 +0000 (14:51 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 24 May 2019 07:02:38 +0000 (09:02 +0200)
commit77290d4b7c0d78f73e6af047344f43b01c176321
tree168986154ed24f6fb13372810e3be59b8a5d5413
parent42143af99d2b8d880c7523a491e5e166e4cfd800
staging: kpc2000: use kzalloc(sizeof(var)...) in cell_probe.c

Fixes checkpatch.pl warning "Prefer kzalloc(sizeof(*kudev)...) over
kzalloc(sizeof(struct kpc_uio_device)...)"

Signed-off-by: Simon Sandström <simon@nikanor.nu>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/kpc2000/kpc2000/cell_probe.c