mirror of https://gitee.com/openkylin/linux.git
staging: unisys: fix CamelCase in visorchipset_set_device_context()
Fix CamelCase parameter names: busNo => bus_no devNo => dev_no Signed-off-by: Benjamin Romer <benjamin.romer@unisys.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
58dd8f2d79
commit
cf0bd0b579
|
@ -278,7 +278,7 @@ BOOL visorchipset_get_bus_info(ulong bus_no,
|
|||
BOOL visorchipset_get_device_info(ulong bus_no, ulong dev_no,
|
||||
struct visorchipset_device_info *dev_info);
|
||||
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_selftest(void);
|
||||
int visorchipset_chipset_notready(void);
|
||||
|
|
|
@ -2245,13 +2245,13 @@ visorchipset_get_device_info(ulong bus_no, ulong dev_no,
|
|||
EXPORT_SYMBOL_GPL(visorchipset_get_device_info);
|
||||
|
||||
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 =
|
||||
finddevice(&DevInfoList, busNo, devNo);
|
||||
finddevice(&DevInfoList, bus_no, dev_no);
|
||||
|
||||
if (!p) {
|
||||
LOGERR("(%lu,%lu) failed", busNo, devNo);
|
||||
LOGERR("(%lu,%lu) failed", bus_no, dev_no);
|
||||
return FALSE;
|
||||
}
|
||||
p->bus_driver_context = context;
|
||||
|
|
Loading…
Reference in New Issue