staging: wilc1000: linux_mon: fix coding style of kmalloc usage
authorChaehyun Lim <chaehyun.lim@gmail.com>
Mon, 1 Feb 2016 12:26:45 +0000 (21:26 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 3 Feb 2016 23:34:29 +0000 (15:34 -0800)
commitfa611271b4d681d02520c458c555e48ee11d61d4
treea7ce36be50206a6921d821725d0aa96cb014d49f
parentb4a53a621223d2e6f3f4012c7165f5ccaca41d9c
staging: wilc1000: linux_mon: fix coding style of kmalloc usage

This patch fixes coding style of kmalloc usage found by checkpatch.pl
CHECK: Prefer kmalloc(sizeof(*mgmt_tx)...) over kmalloc(sizeof(struct
tx_complete_mon_data)...)

Signed-off-by: Chaehyun Lim <chaehyun.lim@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/wilc1000/linux_mon.c