staging: unisys: fix CamelCase in uisctrl_unregister_req_handler_ex
authorBenjamin Romer <benjamin.romer@unisys.com>
Fri, 3 Oct 2014 18:08:57 +0000 (14:08 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 20 Oct 2014 02:29:04 +0000 (10:29 +0800)
Fix CamelCase names:
switchTypeGuid => switch_uuid

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 9fb9aaa6f90a5eaf2a7cebcb89db99cfefbedd58..ea8708b078ec2e532ce6e72707ece9bbcdf79f87 100644 (file)
@@ -127,7 +127,7 @@ int uisctrl_register_req_handler_ex(uuid_le switch_guid,
                                                    u64 bytes),
                                    ULTRA_VBUS_DEVICEINFO *chipset_driver_info);
 
-int uisctrl_unregister_req_handler_ex(uuid_le switchTypeGuid);
+int uisctrl_unregister_req_handler_ex(uuid_le switch_uuid);
 unsigned char *util_map_virt(struct phys_info *sg);
 void util_unmap_virt(struct phys_info *sg);
 unsigned char *util_map_virt_atomic(struct phys_info *sg);
index 6211ac1ada44c09ebdb56b07aab3c1f7a5705b33..31f517aa141fdbec8929ca0fe58e53be0715e33b 100644 (file)
@@ -160,21 +160,21 @@ Away:
 EXPORT_SYMBOL_GPL(uisctrl_register_req_handler_ex);
 
 int
-uisctrl_unregister_req_handler_ex(uuid_le switchTypeGuid)
+uisctrl_unregister_req_handler_ex(uuid_le switch_uuid)
 {
        int rc = 0;             /* assume failure */
 
-       LOGINF("type=%pUL.\n", &switchTypeGuid);
-       if (req_handler_del(switchTypeGuid) < 0) {
+       LOGINF("type=%pUL.\n", &switch_uuid);
+       if (req_handler_del(switch_uuid) < 0) {
                LOGERR("failed to remove %pUL from server list\n",
-                               &switchTypeGuid);
+                               &switch_uuid);
                goto Away;
        }
        atomic_dec(&uisutils_registered_services);
        rc = 1;                 /* success */
 Away:
        if (!rc)
-               LOGERR("failed to unregister type %pUL.\n", &switchTypeGuid);
+               LOGERR("failed to unregister type %pUL.\n", &switch_uuid);
        return rc;
 }
 EXPORT_SYMBOL_GPL(uisctrl_unregister_req_handler_ex);