staging: wilc1000: use sizeof(*wdev) to allocate memory in wilc_wfi_cfg_alloc()
authorAjay Singh <ajay.kathat@microchip.com>
Fri, 11 May 2018 08:13:11 +0000 (13:43 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 14 May 2018 12:04:48 +0000 (14:04 +0200)
commitc0a78823120b70b59999b1ff6908df29adaf1ab5
treec25dbdc6fa7c25db36dc38c4231d334d2c05f8cc
parent3f27ec8733844a53dbe57507e53631c5b4fe22a0
staging: wilc1000: use sizeof(*wdev) to allocate memory in wilc_wfi_cfg_alloc()

Fix below reported checkpatch issues in wilc_wfi_cfg_alloc().
kzalloc(sizeof(*wdev)...) over kzalloc(sizeof(struct wireless_dev)

Signed-off-by: Ajay Singh <ajay.kathat@microchip.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/wilc1000/wilc_wfi_cfgoperations.c