]> git.karo-electronics.de Git - karo-tx-linux.git/commit
staging:nvec:nvec_ps2.c: Prefering kzalloc(sizeof(*ser_dev)...) over kzalloc(sizeof...
authorArushi Singhal <arushisinghal19971997@gmail.com>
Tue, 14 Feb 2017 17:01:20 +0000 (22:31 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 14 Feb 2017 17:26:26 +0000 (09:26 -0800)
commitcf13a747b169e355f55ac5d6504700936d5298e3
treeace7857de6e9abefe7d7510d745cbfbb2433d379
parent842954a8e3ec2d3a5e117c95533eb02ad73b3a2f
staging:nvec:nvec_ps2.c: Prefering kzalloc(sizeof(*ser_dev)...) over kzalloc(sizeof(struct serio)...)

Prefer kzalloc(sizeof(*ser_dev)...) over kzalloc(sizeof(struct
serio)...) as reported by checkpatch.pl.

Signed-off-by: Arushi Singhal <arushisinghal19971997@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/nvec/nvec_ps2.c