staging: unisys: fix CamelCase parameters in finddevice()
authorBenjamin Romer <benjamin.romer@unisys.com>
Fri, 31 Oct 2014 13:57:25 +0000 (09:57 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 3 Nov 2014 23:59:37 +0000 (15:59 -0800)
Fix CamelCase names in finddevice():

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

index a792cf263adbb16c55e92c4bebd7de3036f3a4de..d2bb9f02b2ec1485318b1fc82128009a39ca8b1c 100644 (file)
@@ -92,13 +92,13 @@ struct visorchipset_device_info {
 
 };
 
-static inline struct visorchipset_device_info *
-finddevice(struct list_head *list, u32 busNo, u32 devNo)
+static inline struct visorchipset_device_info *finddevice(
+               struct list_head *list, u32 bus_no, u32 dev_no)
 {
        struct visorchipset_device_info *p;
 
        list_for_each_entry(p, list, entry) {
-               if (p->bus_no == busNo && p->dev_no == devNo)
+               if (p->bus_no == bus_no && p->dev_no == dev_no)
                        return p;
        }
        return NULL;