staging: unisys: fix CamelCase in visorchipset_set_device_context()
authorBenjamin Romer <benjamin.romer@unisys.com>
Fri, 31 Oct 2014 13:57:41 +0000 (09:57 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 4 Nov 2014 00:02:46 +0000 (16:02 -0800)
Fix CamelCase parameter 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/visorchipset/visorchipset.h
drivers/staging/unisys/visorchipset/visorchipset_main.c

index 9302036..5efc2d6 100644 (file)
@@ -278,7 +278,7 @@ BOOL visorchipset_get_bus_info(ulong bus_no,
 BOOL visorchipset_get_device_info(ulong bus_no, ulong dev_no,
                                  struct visorchipset_device_info *dev_info);
 BOOL visorchipset_set_bus_context(ulong bus_no, void *context);
-BOOL visorchipset_set_device_context(ulong busNo, ulong devNo, void *context);
+BOOL visorchipset_set_device_context(ulong bus_no, ulong dev_no, void *context);
 int visorchipset_chipset_ready(void);
 int visorchipset_chipset_selftest(void);
 int visorchipset_chipset_notready(void);
index 873b9ea..b5a0e46 100644 (file)
@@ -2245,13 +2245,13 @@ visorchipset_get_device_info(ulong bus_no, ulong dev_no,
 EXPORT_SYMBOL_GPL(visorchipset_get_device_info);
 
 BOOL
-visorchipset_set_device_context(ulong busNo, ulong devNo, void *context)
+visorchipset_set_device_context(ulong bus_no, ulong dev_no, void *context)
 {
        struct visorchipset_device_info *p =
-                       finddevice(&DevInfoList, busNo, devNo);
+                       finddevice(&DevInfoList, bus_no, dev_no);
 
        if (!p) {
-               LOGERR("(%lu,%lu) failed", busNo, devNo);
+               LOGERR("(%lu,%lu) failed", bus_no, dev_no);
                return FALSE;
        }
        p->bus_driver_context = context;