]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
staging: wilc1000: rename pvUserArg in wilc_remain_on_channel
authorChaehyun Lim <chaehyun.lim@gmail.com>
Sun, 3 Jan 2016 08:35:39 +0000 (17:35 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 3 Feb 2016 23:11:00 +0000 (15:11 -0800)
This patch renames pvUserArg to user_arg to avoid camelcase.

Signed-off-by: Chaehyun Lim <chaehyun.lim@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/wilc1000/host_interface.c
drivers/staging/wilc1000/host_interface.h

index 21d1e87e2db17f1ca402f1044a83a51cf2f71e59..3636f7664b2179d94440c0da2c96bcf0e5c95973 100644 (file)
@@ -4065,7 +4065,7 @@ int wilc_remain_on_channel(struct wilc_vif *vif, u32 session_id,
                           u32 duration, u16 chan,
                           wilc_remain_on_chan_expired expired,
                           wilc_remain_on_chan_ready ready,
-                          void *pvUserArg)
+                          void *user_arg)
 {
        int result = 0;
        struct host_if_msg msg;
@@ -4082,7 +4082,7 @@ int wilc_remain_on_channel(struct wilc_vif *vif, u32 session_id,
        msg.body.remain_on_ch.ch = chan;
        msg.body.remain_on_ch.expired = expired;
        msg.body.remain_on_ch.ready = ready;
-       msg.body.remain_on_ch.arg = pvUserArg;
+       msg.body.remain_on_ch.arg = user_arg;
        msg.body.remain_on_ch.duration = duration;
        msg.body.remain_on_ch.id = session_id;
        msg.vif = vif;
index 8a03055bcf5d05e0d1e519dba5daab2c065e33af..4f741ff53f65f8d43b7776b466d3b074b003ee9c 100644 (file)
@@ -360,7 +360,7 @@ int wilc_remain_on_channel(struct wilc_vif *vif, u32 session_id,
                           u32 duration, u16 chan,
                           wilc_remain_on_chan_expired expired,
                           wilc_remain_on_chan_ready ready,
-                          void *pvUserArg);
+                          void *user_arg);
 int wilc_listen_state_expired(struct wilc_vif *vif, u32 session_id);
 int wilc_frame_register(struct wilc_vif *vif, u16 frame_type, bool reg);
 int wilc_set_wfi_drv_handler(struct wilc_vif *vif, int index);