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

staging: unisys: fix CamelCase in visorchipset_get_bus_info

Fix CamelCase names:

busNo => bus_no
busInfo => bus_info
Signed-off-by: default avatarBenjamin Romer <benjamin.romer@unisys.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 8420f417
...@@ -273,8 +273,8 @@ typedef void (*SPARREPORTEVENT_COMPLETE_FUNC) (struct controlvm_message *msg, ...@@ -273,8 +273,8 @@ typedef void (*SPARREPORTEVENT_COMPLETE_FUNC) (struct controlvm_message *msg,
void visorchipset_device_pause_response(ulong bus_no, ulong dev_no, void visorchipset_device_pause_response(ulong bus_no, ulong dev_no,
int response); int response);
BOOL visorchipset_get_bus_info(ulong busNo, BOOL visorchipset_get_bus_info(ulong bus_no,
struct visorchipset_bus_info *busInfo); struct visorchipset_bus_info *bus_info);
BOOL visorchipset_get_device_info(ulong busNo, ulong devNo, BOOL visorchipset_get_device_info(ulong busNo, ulong devNo,
struct visorchipset_device_info *devInfo); struct visorchipset_device_info *devInfo);
BOOL visorchipset_get_switch_info(ulong switchNo, BOOL visorchipset_get_switch_info(ulong switchNo,
......
...@@ -2202,15 +2202,15 @@ device_resume_response(ulong busNo, ulong devNo, int response) ...@@ -2202,15 +2202,15 @@ device_resume_response(ulong busNo, ulong devNo, int response)
} }
BOOL BOOL
visorchipset_get_bus_info(ulong busNo, struct visorchipset_bus_info *busInfo) visorchipset_get_bus_info(ulong bus_no, struct visorchipset_bus_info *bus_info)
{ {
void *p = findbus(&BusInfoList, busNo); void *p = findbus(&BusInfoList, bus_no);
if (!p) { if (!p) {
LOGERR("(%lu) failed", busNo); LOGERR("(%lu) failed", bus_no);
return FALSE; return FALSE;
} }
memcpy(busInfo, p, sizeof(struct visorchipset_bus_info)); memcpy(bus_info, p, sizeof(struct visorchipset_bus_info));
return TRUE; return TRUE;
} }
EXPORT_SYMBOL_GPL(visorchipset_get_bus_info); EXPORT_SYMBOL_GPL(visorchipset_get_bus_info);
......
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