OSDN Git Service

staging: wilc1000: rename Handle_SetMacAddress function
authorLeo Kim <leo.kim@atmel.com>
Fri, 6 Nov 2015 02:20:08 +0000 (11:20 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 16 Nov 2015 04:02:47 +0000 (20:02 -0800)
This patch renames Handle_SetMacAddress function to handle_set_mac_address
to avoid camelcase.

Signed-off-by: Leo Kim <leo.kim@atmel.com>
Signed-off-by: Glen Lee <glen.lee@atmel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/wilc1000/host_interface.c [changed mode: 0755->0644]

old mode 100755 (executable)
new mode 100644 (file)
index 9c4c0b2..2388e2d
@@ -464,8 +464,8 @@ s32 handle_get_ip_address(struct host_if_drv *hif_drv, u8 idx)
        return result;
 }
 
-static s32 Handle_SetMacAddress(struct host_if_drv *hif_drv,
-                               struct set_mac_addr *set_mac_addr)
+static s32 handle_set_mac_address(struct host_if_drv *hif_drv,
+                                 struct set_mac_addr *set_mac_addr)
 {
        s32 result = 0;
        struct wid wid;
@@ -2990,7 +2990,8 @@ static int hostIFthread(void *pvArg)
                        break;
 
                case HOST_IF_MSG_SET_MAC_ADDRESS:
-                       Handle_SetMacAddress(msg.drv, &msg.body.set_mac_info);
+                       handle_set_mac_address(msg.drv,
+                                              &msg.body.set_mac_info);
                        break;
 
                case HOST_IF_MSG_GET_MAC_ADDRESS: