staging: wilc1000: refactor mgmt_tx to fix line over 80 chars
authorAjay Singh <ajay.kathat@microchip.com>
Mon, 23 Apr 2018 16:33:08 +0000 (22:03 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 25 Apr 2018 13:54:13 +0000 (15:54 +0200)
commit7c4f6fe4372d54a283b9013d13f1092c3c90b717
treeffeaa3b32efb365381bec053ec5ed4218686a463
parent34db1aac17ff8f6d7f3372c818ae9d721582b968
staging: wilc1000: refactor mgmt_tx to fix line over 80 chars

Refactor mgmt_tx() to fix line over 80 characters issue. Split the
function to avoid the checkpatch.pl warning. Returning the same error
code in case of memory allocation failure.

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