staging: unisys: Fix CamelCase in uislib_enable_channel_interrupts()
authorBenjamin Romer <benjamin.romer@unisys.com>
Tue, 30 Sep 2014 16:08:49 +0000 (12:08 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 2 Oct 2014 16:49:29 +0000 (09:49 -0700)
Fix CamelCase names:
busNo => bus_no
devNo => dev_no

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

index 67b2232..58690ca 100644 (file)
@@ -347,7 +347,7 @@ void uislib_cache_free(struct kmem_cache *cur_pool, void *p, char *fn, int ln);
 #define UISCACHEFREE(cur_pool, p) \
        uislib_cache_free(cur_pool, p, __FILE__, __LINE__)
 
-void uislib_enable_channel_interrupts(u32 busNo, u32 devNo,
+void uislib_enable_channel_interrupts(u32 bus_no, u32 dev_no,
                                      int (*interrupt)(void *),
                                      void *interrupt_context);
 void uislib_disable_channel_interrupts(u32 busNo, u32 devNo);
index 25ad6c6..0791a0a 100644 (file)
@@ -1462,16 +1462,16 @@ Initialize_incoming_thread(void)
  *                        function.
  */
 void
-uislib_enable_channel_interrupts(u32 busNo, u32 devNo,
+uislib_enable_channel_interrupts(u32 bus_no, u32 dev_no,
                                 int (*interrupt)(void *),
                                 void *interrupt_context)
 {
        struct device_info *dev;
 
-       dev = find_dev(busNo, devNo);
+       dev = find_dev(bus_no, dev_no);
        if (!dev) {
-               LOGERR("%s busNo=%d, devNo=%d", __func__, (int) (busNo),
-                      (int) (devNo));
+               LOGERR("%s busNo=%d, devNo=%d", __func__, (int) (bus_no),
+                      (int) (dev_no));
                return;
        }
        down(&Lock_Polling_Device_Channels);