Commit 8f67b5bc authored by Benjamin Romer's avatar Benjamin Romer Committed by Greg Kroah-Hartman

staging: unisys: fix CamelCase parameters in delbusdevices()

Fix the CamelCase parameter in delbusdevices() in visorchipset.h:

busNo => bus_no
Signed-off-by: default avatarBenjamin Romer <benjamin.romer@unisys.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 0a96ec72
...@@ -104,12 +104,12 @@ static inline struct visorchipset_device_info *finddevice( ...@@ -104,12 +104,12 @@ static inline struct visorchipset_device_info *finddevice(
return NULL; return NULL;
} }
static inline void delbusdevices(struct list_head *list, u32 busNo) static inline void delbusdevices(struct list_head *list, u32 bus_no)
{ {
struct visorchipset_device_info *p, *tmp; struct visorchipset_device_info *p, *tmp;
list_for_each_entry_safe(p, tmp, list, entry) { list_for_each_entry_safe(p, tmp, list, entry) {
if (p->bus_no == busNo) { if (p->bus_no == bus_no) {
list_del(&p->entry); list_del(&p->entry);
kfree(p); kfree(p);
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment