staging: wilc1000: fixes a struct allocation to match coding standards
authorLeo Kim <leo.kim@atmel.com>
Fri, 6 Nov 2015 02:12:23 +0000 (11:12 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 16 Nov 2015 04:02:47 +0000 (20:02 -0800)
commitb38e903090e12503a21183916ec8e5101b3ed610
tree6ddb681dff1ed261be4842a6f99892e907191672
parent83231b7233bfc924e7059512f3c497c8e90f2c2b
staging: wilc1000: fixes a struct allocation to match coding standards

This patch fixes the checks reported by checkpatch.pl
for prefer kmalloc(sizeof(*tx_data)...) over kmalloc(sizeof(struct tx_complete_data)...)

Signed-off-by: Leo Kim <leo.kim@atmel.com>
Signed-off-by: Glen Lee <glen.lee@atmel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/wilc1000/linux_wlan.c