提交 0a96ec72 编写于 作者: B Benjamin Romer 提交者: Greg Kroah-Hartman

staging: unisys: fix CamelCase parameters in finddevice()

Fix CamelCase names in finddevice():

busNo => bus_no
devNo => dev_no
Signed-off-by: NBenjamin Romer <benjamin.romer@unisys.com>
Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
上级 246e0cd0
......@@ -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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册