staging: unisys: fix CamelCase in visorchipset_set_bus_context()
authorBenjamin Romer <benjamin.romer@unisys.com>
Fri, 31 Oct 2014 13:57:40 +0000 (09:57 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 4 Nov 2014 00:02:46 +0000 (16:02 -0800)
Fix CamelCase parameter:

busNo => bus_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 ac8f44db449c0bee7756fcd22cdd478849abb31b..9302036c6ecd9f2e40bafeb15cfdcf3fd3fdc901 100644 (file)
@@ -277,7 +277,7 @@ BOOL visorchipset_get_bus_info(ulong bus_no,
                               struct visorchipset_bus_info *bus_info);
 BOOL visorchipset_get_device_info(ulong bus_no, ulong dev_no,
                                  struct visorchipset_device_info *dev_info);
-BOOL visorchipset_set_bus_context(ulong busNo, void *context);
+BOOL visorchipset_set_bus_context(ulong bus_no, void *context);
 BOOL visorchipset_set_device_context(ulong busNo, ulong devNo, void *context);
 int visorchipset_chipset_ready(void);
 int visorchipset_chipset_selftest(void);
index bebd0e4a3b94d1afc17d038dd6ca05309e0f9c6e..873b9ea875fb23e9acee9db5ef32362670cd6ffe 100644 (file)
@@ -2216,12 +2216,12 @@ visorchipset_get_bus_info(ulong bus_no, struct visorchipset_bus_info *bus_info)
 EXPORT_SYMBOL_GPL(visorchipset_get_bus_info);
 
 BOOL
-visorchipset_set_bus_context(ulong busNo, void *context)
+visorchipset_set_bus_context(ulong bus_no, void *context)
 {
-       struct visorchipset_bus_info *p = findbus(&BusInfoList, busNo);
+       struct visorchipset_bus_info *p = findbus(&BusInfoList, bus_no);
 
        if (!p) {
-               LOGERR("(%lu) failed", busNo);
+               LOGERR("(%lu) failed", bus_no);
                return FALSE;
        }
        p->bus_driver_context = context;