staging: unisys: fix CamelCase in findbus()
authorBenjamin Romer <benjamin.romer@unisys.com>
Fri, 31 Oct 2014 13:57:28 +0000 (09:57 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 4 Nov 2014 00:00:44 +0000 (16:00 -0800)
Fix the CamelCase parameter name in findbus() in visorchipset.h.

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

index b93174d..a578d0a 100644 (file)
@@ -147,12 +147,12 @@ struct visorchipset_bus_info {
 };
 
 static inline struct visorchipset_bus_info *
-findbus(struct list_head *list, u32 busNo)
+findbus(struct list_head *list, u32 bus_no)
 {
        struct visorchipset_bus_info *p;
 
        list_for_each_entry(p, list, entry) {
-               if (p->bus_no == busNo)
+               if (p->bus_no == bus_no)
                        return p;
        }
        return NULL;