diff options
author | Benjamin Romer <benjamin.romer@unisys.com> | 2014-10-31 09:57:38 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-11-03 16:02:46 -0800 |
commit | b486df191c629718bb64d6e2ae8d78b8a4de9276 (patch) | |
tree | ad4ffeb4d694472b8ad03046dbaf597f3ff71cfc /drivers/staging/unisys | |
parent | 77db7127c7e63a642525114d80ca350ce1eabf39 (diff) | |
download | linux-stable-b486df191c629718bb64d6e2ae8d78b8a4de9276.tar.gz linux-stable-b486df191c629718bb64d6e2ae8d78b8a4de9276.tar.bz2 linux-stable-b486df191c629718bb64d6e2ae8d78b8a4de9276.zip |
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>
Diffstat (limited to 'drivers/staging/unisys')
-rw-r--r-- | drivers/staging/unisys/visorchipset/visorchipset.h | 4 | ||||
-rw-r--r-- | drivers/staging/unisys/visorchipset/visorchipset_main.c | 10 |
2 files changed, 7 insertions, 7 deletions
diff --git a/drivers/staging/unisys/visorchipset/visorchipset.h b/drivers/staging/unisys/visorchipset/visorchipset.h index 6f42712dfcd1..7265e2ffc8a8 100644 --- a/drivers/staging/unisys/visorchipset/visorchipset.h +++ b/drivers/staging/unisys/visorchipset/visorchipset.h @@ -275,8 +275,8 @@ void visorchipset_device_pause_response(ulong bus_no, ulong dev_no, 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_device_info(ulong bus_no, ulong dev_no, + struct visorchipset_device_info *dev_info); BOOL visorchipset_get_switch_info(ulong switchNo, struct visorchipset_switch_info *switchInfo); BOOL visorchipset_get_externalport_info(ulong switchNo, ulong externalPortNo, diff --git a/drivers/staging/unisys/visorchipset/visorchipset_main.c b/drivers/staging/unisys/visorchipset/visorchipset_main.c index 041dba0d9e06..bebd0e4a3b94 100644 --- a/drivers/staging/unisys/visorchipset/visorchipset_main.c +++ b/drivers/staging/unisys/visorchipset/visorchipset_main.c @@ -2230,16 +2230,16 @@ visorchipset_set_bus_context(ulong busNo, void *context) EXPORT_SYMBOL_GPL(visorchipset_set_bus_context); BOOL -visorchipset_get_device_info(ulong busNo, ulong devNo, - struct visorchipset_device_info *devInfo) +visorchipset_get_device_info(ulong bus_no, ulong dev_no, + struct visorchipset_device_info *dev_info) { - void *p = finddevice(&DevInfoList, busNo, devNo); + void *p = finddevice(&DevInfoList, bus_no, dev_no); if (!p) { - LOGERR("(%lu,%lu) failed", busNo, devNo); + LOGERR("(%lu,%lu) failed", bus_no, dev_no); return FALSE; } - memcpy(devInfo, p, sizeof(struct visorchipset_device_info)); + memcpy(dev_info, p, sizeof(struct visorchipset_device_info)); return TRUE; } EXPORT_SYMBOL_GPL(visorchipset_get_device_info); |