From: Benjamin Romer Date: Tue, 30 Sep 2014 16:08:27 +0000 (-0400) Subject: staging: unisys: fix CamelCase in uisctrl_register_req_handler X-Git-Tag: v5.15~17125^2~64 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=03ec49dcdafe9c55ab871e0abaf5c1ac4247d832;p=platform%2Fkernel%2Flinux-starfive.git staging: unisys: fix CamelCase in uisctrl_register_req_handler Fix CamelCase names: chipset_driverInfo => chipset_driver_info Signed-off-by: Benjamin Romer Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/unisys/include/uisutils.h b/drivers/staging/unisys/include/uisutils.h index f1a1b0d..f818d00a 100644 --- a/drivers/staging/unisys/include/uisutils.h +++ b/drivers/staging/unisys/include/uisutils.h @@ -114,7 +114,7 @@ int uisutil_add_proc_line_ex(int *total, char **buffer, int *buffer_remaining, char *format, ...); int uisctrl_register_req_handler(int type, void *fptr, - ULTRA_VBUS_DEVICEINFO *chipset_DriverInfo); + ULTRA_VBUS_DEVICEINFO *chipset_driver_info); int uisctrl_register_req_handler_ex(uuid_le switchTypeGuid, const char *switch_type_name, int (*fptr)(struct io_msgs *), diff --git a/drivers/staging/unisys/uislib/uisutils.c b/drivers/staging/unisys/uislib/uisutils.c index 260df27..8ff6d26 100644 --- a/drivers/staging/unisys/uislib/uisutils.c +++ b/drivers/staging/unisys/uislib/uisutils.c @@ -75,7 +75,7 @@ EXPORT_SYMBOL_GPL(uisutil_add_proc_line_ex); int uisctrl_register_req_handler(int type, void *fptr, - ULTRA_VBUS_DEVICEINFO *chipset_DriverInfo) + ULTRA_VBUS_DEVICEINFO *chipset_driver_info) { LOGINF("type = %d, fptr = 0x%p.\n", type, fptr); @@ -96,8 +96,8 @@ uisctrl_register_req_handler(int type, void *fptr, LOGERR("invalid type %d.\n", type); return 0; } - if (chipset_DriverInfo) - bus_device_info_init(chipset_DriverInfo, "chipset", "uislib", + if (chipset_driver_info) + bus_device_info_init(chipset_driver_info, "chipset", "uislib", VERSION, NULL); return 1;