]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitf213decf226d91a27468979b386329a93655d3f6
tree168986154ed24f6fb13372810e3be59b8a5d5413
parentf108124f7d042f7539f023e809ca21554bf57145
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