]> git.karo-electronics.de Git - linux-beck.git/commitdiff
staging: wilc1000: rename Handle_set_IPAddress function
authorLeo Kim <leo.kim@atmel.com>
Fri, 6 Nov 2015 02:20:06 +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_set_IPAddress function to handle_set_ip_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

index 504763e07456dc37bcca4f09e89db800113396fb..461272337dc92045407579a06513623c7b635a8d 100644 (file)
@@ -396,7 +396,7 @@ static s32 handle_set_operation_mode(struct host_if_drv *hif_drv,
        return result;
 }
 
-s32 Handle_set_IPAddress(struct host_if_drv *hif_drv, u8 *ip_addr, u8 idx)
+s32 handle_set_ip_address(struct host_if_drv *hif_drv, u8 *ip_addr, u8 idx)
 {
        s32 result = 0;
        struct wid wid;
@@ -2979,7 +2979,9 @@ static int hostIFthread(void *pvArg)
 
                case HOST_IF_MSG_SET_IPADDRESS:
                        PRINT_D(HOSTINF_DBG, "HOST_IF_MSG_SET_IPADDRESS\n");
-                       Handle_set_IPAddress(msg.drv, msg.body.ip_info.ip_addr, msg.body.ip_info.idx);
+                       handle_set_ip_address(msg.drv,
+                                             msg.body.ip_info.ip_addr,
+                                             msg.body.ip_info.idx);
                        break;
 
                case HOST_IF_MSG_GET_IPADDRESS: