OSDN Git Service

staging: wilc1000: rename u16DummyReasonCode to avoid camelCase
authorAjay Singh <ajay.kathat@microchip.com>
Fri, 2 Mar 2018 14:22:49 +0000 (19:52 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 6 Mar 2018 12:11:44 +0000 (04:11 -0800)
Fix 'Avoid camelCase' issue found by checkpatch.pl script.

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

index 2354666..a4ee175 100644 (file)
@@ -1795,11 +1795,11 @@ static void handle_disconnect(struct wilc_vif *vif)
        struct host_if_drv *hif_drv = vif->hif_drv;
 
        s32 result = 0;
-       u16 u16DummyReasonCode = 0;
+       u16 dummy_reason_code = 0;
 
        wid.id = (u16)WID_DISCONNECT;
        wid.type = WID_CHAR;
-       wid.val = (s8 *)&u16DummyReasonCode;
+       wid.val = (s8 *)&dummy_reason_code;
        wid.size = sizeof(char);
 
        wilc_optaining_ip = false;