staging: unisys: fix CamelCase name for registered services variable
authorBenjamin Romer <benjamin.romer@unisys.com>
Fri, 3 Oct 2014 18:08:48 +0000 (14:08 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 20 Oct 2014 02:29:03 +0000 (10:29 +0800)
Fix CamelCase names:
UisUtils_Registered_Services => uisutils_registered_services

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/uislib.c
drivers/staging/unisys/uislib/uisutils.c

index 85d49e4860a6a77f6c84c6194286fb810174d6c3..3c9aadb657d2578056cfba2660dda4381fb5569f 100644 (file)
@@ -51,7 +51,7 @@ extern int (*virt_control_chan_func)(struct guest_msgs *);
 #define CCF_ERROR        0     /* completed and failed */
 #define CCF_OK           1     /* completed successfully */
 #define CCF_PENDING      2     /* operation still pending */
-extern atomic_t UisUtils_Registered_Services;
+extern atomic_t uisutils_registered_services;
 
 typedef unsigned int MACARRAY[MAX_MACADDR_LEN];
 typedef struct ReqHandlerInfo_struct {
index b48b962165ff18d70d53c2429b91c336772fbcb2..b1c9d4942cd6a69affc54af7b46360af97da6864 100644 (file)
@@ -1232,7 +1232,7 @@ info_debugfs_read_helper(char **buff, int *buff_len)
        read_unlock(&BusListLock);
 
        if (PLINE("UisUtils_Registered_Services: %d\n",
-                 atomic_read(&UisUtils_Registered_Services)) < 0)
+                 atomic_read(&uisutils_registered_services)) < 0)
                goto err_done;
        if (PLINE("cycles_before_wait %llu wait_cycles:%llu\n",
                  cycles_before_wait, wait_cycles) < 0)
index 3001819aba96f231ad6f16281137358bb4fd17cc..82230f2c61ae29eb886a395bddeddcdbd6c1a095 100644 (file)
@@ -39,7 +39,7 @@
 #define __MYFILE__ "uisutils.c"
 
 /* exports */
-atomic_t UisUtils_Registered_Services = ATOMIC_INIT(0);
+atomic_t uisutils_registered_services = ATOMIC_INIT(0);
                                        /* num registrations via
                                         * uisctrl_register_req_handler() or
                                         * uisctrl_register_req_handler_ex() */
@@ -83,11 +83,11 @@ uisctrl_register_req_handler(int type, void *fptr,
        case 2:
                if (fptr) {
                        if (!virt_control_chan_func)
-                               atomic_inc(&UisUtils_Registered_Services);
+                               atomic_inc(&uisutils_registered_services);
                        virt_control_chan_func = fptr;
                } else {
                        if (virt_control_chan_func)
-                               atomic_dec(&UisUtils_Registered_Services);
+                               atomic_dec(&uisutils_registered_services);
                        virt_control_chan_func = NULL;
                }
                break;
@@ -145,7 +145,7 @@ uisctrl_register_req_handler_ex(uuid_le switchTypeGuid,
                goto Away;
        }
 
-       atomic_inc(&UisUtils_Registered_Services);
+       atomic_inc(&uisutils_registered_services);
        rc = 1;                 /* success */
 Away:
        if (rc) {
@@ -170,7 +170,7 @@ uisctrl_unregister_req_handler_ex(uuid_le switchTypeGuid)
                                &switchTypeGuid);
                goto Away;
        }
-       atomic_dec(&UisUtils_Registered_Services);
+       atomic_dec(&uisutils_registered_services);
        rc = 1;                 /* success */
 Away:
        if (!rc)