From: Jeffrey <jeffrey.br...@unisys.com>

Fixed the camel cases for the static void controlvm_periodic_work
gotAcommand -> gotacommand
chanInfo -> chaninfo
Poll_Count -> poll_count
Away -> cleanups

Signed-off-by: Jeffrey Brown <jeffrey.br...@unisys.com>
---
 .../unisys/visorchipset/visorchipset_main.c        | 30 +++++++++++-----------
 1 file changed, 15 insertions(+), 15 deletions(-)

diff --git a/drivers/staging/unisys/visorchipset/visorchipset_main.c 
b/drivers/staging/unisys/visorchipset/visorchipset_main.c
index e8ff836..7e3cd3f 100644
--- a/drivers/staging/unisys/visorchipset/visorchipset_main.c
+++ b/drivers/staging/unisys/visorchipset/visorchipset_main.c
@@ -1946,28 +1946,28 @@ static HOSTADDRESS controlvm_get_channel_address(void)
 static void
 controlvm_periodic_work(struct work_struct *work)
 {
-       struct visorchipset_channel_info chanInfo;
+       struct visorchipset_channel_info chaninfo;
        struct controlvm_message inmsg;
-       BOOL gotACommand = FALSE;
+       BOOL gotacommand = FALSE;
        BOOL handle_command_failed = FALSE;
-       static u64 Poll_Count;
+       static u64 poll_count;
 
        /* make sure visorbus server is registered for controlvm callbacks */
        if (visorchipset_serverregwait && !serverregistered)
-               goto Away;
+               goto cleanups;
        /* make sure visorclientbus server is regsitered for controlvm
         * callbacks
         */
        if (visorchipset_clientregwait && !clientregistered)
-               goto Away;
+               goto cleanups;
 
-       memset(&chanInfo, 0, sizeof(struct visorchipset_channel_info));
+       memset(&chaninfo, 0, sizeof(struct visorchipset_channel_info));
 
-       Poll_Count++;
-       if (Poll_Count >= 250)
+       poll_count++;
+       if (poll_count >= 250)
                ;       /* keep going */
        else
-               goto Away;
+               goto cleanups;
 
        /* Check events to determine if response to CHIPSET_READY
         * should be sent
@@ -1993,7 +1993,7 @@ controlvm_periodic_work(struct work_struct *work)
                               inmsg.hdr.id);
                }
        }
-       if (!gotACommand) {
+       if (!gotacommand) {
                if (controlvm_pending_msg_valid) {
                        /* we throttled processing of a prior
                        * msg, so try to process it again
@@ -2001,19 +2001,19 @@ controlvm_periodic_work(struct work_struct *work)
                        */
                        inmsg = controlvm_pending_msg;
                        controlvm_pending_msg_valid = FALSE;
-                       gotACommand = TRUE;
+                       gotacommand = TRUE;
                } else {
-                       gotACommand = read_controlvm_event(&inmsg);
+                       gotacommand = read_controlvm_event(&inmsg);
                }
        }
 
        handle_command_failed = FALSE;
-       while (gotACommand && (!handle_command_failed)) {
+       while (gotacommand && (!handle_command_failed)) {
                most_recent_message_jiffies = jiffies;
                if (handle_command(inmsg,
                                   visorchannel_get_physaddr
                                   (controlvm_channel)))
-                       gotACommand = read_controlvm_event(&inmsg);
+                       gotacommand = read_controlvm_event(&inmsg);
                else {
                        /* this is a scenario where throttling
                        * is required, but probably NOT an
@@ -2030,7 +2030,7 @@ controlvm_periodic_work(struct work_struct *work)
        /* parahotplug_worker */
        parahotplug_process_list();
 
-Away:
+cleanups:
 
        if (time_after(jiffies,
                       most_recent_message_jiffies + (HZ * MIN_IDLE_SECONDS))) {
-- 
1.8.4

_______________________________________________
devel mailing list
de...@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel

Reply via email to