]> git.karo-electronics.de Git - linux-beck.git/commitdiff
staging: unisys: fix CamelCase in uisctrl_register_req_handler
authorBenjamin Romer <benjamin.romer@unisys.com>
Tue, 30 Sep 2014 16:08:27 +0000 (12:08 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 2 Oct 2014 16:49:18 +0000 (09:49 -0700)
Fix CamelCase names:
chipset_driverInfo => chipset_driver_info

Signed-off-by: Benjamin Romer <benjamin.romer@unisys.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/unisys/include/uisutils.h
drivers/staging/unisys/uislib/uisutils.c

index f1a1b0d2c89934a8f3de8052cc966d3a2e39f268..f818d00abd4a9c36c0d1555e7614c3f19550e5db 100644 (file)
@@ -114,7 +114,7 @@ int uisutil_add_proc_line_ex(int *total, char **buffer, int *buffer_remaining,
                             char *format, ...);
 
 int uisctrl_register_req_handler(int type, void *fptr,
-                                ULTRA_VBUS_DEVICEINFO *chipset_DriverInfo);
+                                ULTRA_VBUS_DEVICEINFO *chipset_driver_info);
 int uisctrl_register_req_handler_ex(uuid_le switchTypeGuid,
                                    const char *switch_type_name,
                                    int (*fptr)(struct io_msgs *),
index 260df278520c7514953a88d391f275aea19ded96..8ff6d26ff00b957c11175cbe2fa445961bcacd2f 100644 (file)
@@ -75,7 +75,7 @@ EXPORT_SYMBOL_GPL(uisutil_add_proc_line_ex);
 
 int
 uisctrl_register_req_handler(int type, void *fptr,
-                            ULTRA_VBUS_DEVICEINFO *chipset_DriverInfo)
+                            ULTRA_VBUS_DEVICEINFO *chipset_driver_info)
 {
        LOGINF("type = %d, fptr = 0x%p.\n", type, fptr);
 
@@ -96,8 +96,8 @@ uisctrl_register_req_handler(int type, void *fptr,
                LOGERR("invalid type %d.\n", type);
                return 0;
        }
-       if (chipset_DriverInfo)
-               bus_device_info_init(chipset_DriverInfo, "chipset", "uislib",
+       if (chipset_driver_info)
+               bus_device_info_init(chipset_driver_info, "chipset", "uislib",
                                   VERSION, NULL);
 
        return 1;