staging: unisys: fix CamelCase in visorchipset_get_bus_info
Fix CamelCase names: busNo => bus_no busInfo => bus_info Signed-off-by: Benjamin Romer <benjamin.romer@unisys.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
8420f417e5
commit
77db7127c7
@ -273,8 +273,8 @@ typedef void (*SPARREPORTEVENT_COMPLETE_FUNC) (struct controlvm_message *msg,
|
||||
void visorchipset_device_pause_response(ulong bus_no, ulong dev_no,
|
||||
int response);
|
||||
|
||||
BOOL visorchipset_get_bus_info(ulong busNo,
|
||||
struct visorchipset_bus_info *busInfo);
|
||||
BOOL visorchipset_get_bus_info(ulong bus_no,
|
||||
struct visorchipset_bus_info *bus_info);
|
||||
BOOL visorchipset_get_device_info(ulong busNo, ulong devNo,
|
||||
struct visorchipset_device_info *devInfo);
|
||||
BOOL visorchipset_get_switch_info(ulong switchNo,
|
||||
|
@ -2202,15 +2202,15 @@ device_resume_response(ulong busNo, ulong devNo, int response)
|
||||
}
|
||||
|
||||
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) {
|
||||
LOGERR("(%lu) failed", busNo);
|
||||
LOGERR("(%lu) failed", bus_no);
|
||||
return FALSE;
|
||||
}
|
||||
memcpy(busInfo, p, sizeof(struct visorchipset_bus_info));
|
||||
memcpy(bus_info, p, sizeof(struct visorchipset_bus_info));
|
||||
return TRUE;
|
||||
}
|
||||
EXPORT_SYMBOL_GPL(visorchipset_get_bus_info);
|
||||
|
Loading…
x
Reference in New Issue
Block a user