staging: unisys: fix CamelCase in visorchipset_get_device_info()
Fix CamelCase names: busNo => bus_no devNo => dev_no devInfo => dev_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
77db7127c7
commit
b486df191c
|
@ -275,8 +275,8 @@ void visorchipset_device_pause_response(ulong bus_no, ulong dev_no,
|
||||||
|
|
||||||
BOOL visorchipset_get_bus_info(ulong bus_no,
|
BOOL visorchipset_get_bus_info(ulong bus_no,
|
||||||
struct visorchipset_bus_info *bus_info);
|
struct visorchipset_bus_info *bus_info);
|
||||||
BOOL visorchipset_get_device_info(ulong busNo, ulong devNo,
|
BOOL visorchipset_get_device_info(ulong bus_no, ulong dev_no,
|
||||||
struct visorchipset_device_info *devInfo);
|
struct visorchipset_device_info *dev_info);
|
||||||
BOOL visorchipset_get_switch_info(ulong switchNo,
|
BOOL visorchipset_get_switch_info(ulong switchNo,
|
||||||
struct visorchipset_switch_info *switchInfo);
|
struct visorchipset_switch_info *switchInfo);
|
||||||
BOOL visorchipset_get_externalport_info(ulong switchNo, ulong externalPortNo,
|
BOOL visorchipset_get_externalport_info(ulong switchNo, ulong externalPortNo,
|
||||||
|
|
|
@ -2230,16 +2230,16 @@ visorchipset_set_bus_context(ulong busNo, void *context)
|
||||||
EXPORT_SYMBOL_GPL(visorchipset_set_bus_context);
|
EXPORT_SYMBOL_GPL(visorchipset_set_bus_context);
|
||||||
|
|
||||||
BOOL
|
BOOL
|
||||||
visorchipset_get_device_info(ulong busNo, ulong devNo,
|
visorchipset_get_device_info(ulong bus_no, ulong dev_no,
|
||||||
struct visorchipset_device_info *devInfo)
|
struct visorchipset_device_info *dev_info)
|
||||||
{
|
{
|
||||||
void *p = finddevice(&DevInfoList, busNo, devNo);
|
void *p = 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;
|
||||||
}
|
}
|
||||||
memcpy(devInfo, p, sizeof(struct visorchipset_device_info));
|
memcpy(dev_info, p, sizeof(struct visorchipset_device_info));
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
EXPORT_SYMBOL_GPL(visorchipset_get_device_info);
|
EXPORT_SYMBOL_GPL(visorchipset_get_device_info);
|
||||||
|
|
Loading…
Reference in New Issue