staging: wilc1000: split add_key() to avoid line over 80 chars
authorAjay Singh <ajay.kathat@microchip.com>
Mon, 23 Apr 2018 16:33:16 +0000 (22:03 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 25 Apr 2018 13:54:14 +0000 (15:54 +0200)
commit7cec84fdfd88ac058ac3df5dd3ac0ad10b9124a4
treefe5354bf789a978ae90ff4aec99bc5c678da97ee
parente1f769c5318c10490394acf1f097c02b4feda114
staging: wilc1000: split add_key() to avoid line over 80 chars

Cleanup changes to fix 'line over 80 chars' issue found by checkpatch.pl
script by spliting the function. Also make use of kzalloc() instead
kmalloc().

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