]> git.karo-electronics.de Git - karo-tx-linux.git/commit
staging: comedi: serial2000: checkpatch.pl cleanup (kmalloc_array)
authorH Hartley Sweeten <hsweeten@visionengravers.com>
Wed, 16 Jul 2014 18:22:52 +0000 (11:22 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 16 Jul 2014 20:37:59 +0000 (13:37 -0700)
commit205781b74639890e6b0654e7b96dc20aeef9b78f
tree69adae0a35a4e6a303f311b8d4b3c077040cd655
parente685d726c6e923c60ce326332eecacf59826a548
staging: comedi: serial2000: checkpatch.pl cleanup (kmalloc_array)

Fix the checkpatch.pl warning:

WARNING: Prefer kmalloc_array over kmalloc with multiply

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Cc: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/comedi/drivers/serial2002.c