staging: unisys: fix CamelCase parameters in delbusdevices()
Fix the CamelCase parameter in delbusdevices() in visorchipset.h: busNo => bus_no Signed-off-by: Benjamin Romer <benjamin.romer@unisys.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
0a96ec728e
commit
8f67b5bc06
1 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue