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

staging: unisys: fix CamelCase in visorchipset_set_device_context()

Fix CamelCase parameter names:

busNo => bus_no
devNo => dev_no
Signed-off-by: default avatarBenjamin Romer <benjamin.romer@unisys.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 58dd8f2d
...@@ -278,7 +278,7 @@ BOOL visorchipset_get_bus_info(ulong bus_no, ...@@ -278,7 +278,7 @@ BOOL visorchipset_get_bus_info(ulong bus_no,
BOOL visorchipset_get_device_info(ulong bus_no, ulong dev_no, BOOL visorchipset_get_device_info(ulong bus_no, ulong dev_no,
struct visorchipset_device_info *dev_info); struct visorchipset_device_info *dev_info);
BOOL visorchipset_set_bus_context(ulong bus_no, void *context); BOOL visorchipset_set_bus_context(ulong bus_no, void *context);
BOOL visorchipset_set_device_context(ulong busNo, ulong devNo, void *context); BOOL visorchipset_set_device_context(ulong bus_no, ulong dev_no, void *context);
int visorchipset_chipset_ready(void); int visorchipset_chipset_ready(void);
int visorchipset_chipset_selftest(void); int visorchipset_chipset_selftest(void);
int visorchipset_chipset_notready(void); int visorchipset_chipset_notready(void);
......
...@@ -2245,13 +2245,13 @@ visorchipset_get_device_info(ulong bus_no, ulong dev_no, ...@@ -2245,13 +2245,13 @@ visorchipset_get_device_info(ulong bus_no, ulong dev_no,
EXPORT_SYMBOL_GPL(visorchipset_get_device_info); EXPORT_SYMBOL_GPL(visorchipset_get_device_info);
BOOL BOOL
visorchipset_set_device_context(ulong busNo, ulong devNo, void *context) visorchipset_set_device_context(ulong bus_no, ulong dev_no, void *context)
{ {
struct visorchipset_device_info *p = struct visorchipset_device_info *p =
finddevice(&DevInfoList, busNo, devNo); finddevice(&DevInfoList, bus_no, dev_no);
if (!p) { if (!p) {
LOGERR("(%lu,%lu) failed", busNo, devNo); LOGERR("(%lu,%lu) failed", bus_no, dev_no);
return FALSE; return FALSE;
} }
p->bus_driver_context = context; p->bus_driver_context = context;
......
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