Commit d44694af authored by Benjamin Romer's avatar Benjamin Romer Committed by Greg Kroah-Hartman

staging: unisys: fix CamelCase in uisctrl_unregister_req_handler_ex

Fix CamelCase names:
switchTypeGuid => switch_uuid
Signed-off-by: default avatarBenjamin Romer <benjamin.romer@unisys.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 1032885d
......@@ -127,7 +127,7 @@ int uisctrl_register_req_handler_ex(uuid_le switch_guid,
u64 bytes),
ULTRA_VBUS_DEVICEINFO *chipset_driver_info);
int uisctrl_unregister_req_handler_ex(uuid_le switchTypeGuid);
int uisctrl_unregister_req_handler_ex(uuid_le switch_uuid);
unsigned char *util_map_virt(struct phys_info *sg);
void util_unmap_virt(struct phys_info *sg);
unsigned char *util_map_virt_atomic(struct phys_info *sg);
......
......@@ -160,21 +160,21 @@ uisctrl_register_req_handler_ex(uuid_le switch_uuid,
EXPORT_SYMBOL_GPL(uisctrl_register_req_handler_ex);
int
uisctrl_unregister_req_handler_ex(uuid_le switchTypeGuid)
uisctrl_unregister_req_handler_ex(uuid_le switch_uuid)
{
int rc = 0; /* assume failure */
LOGINF("type=%pUL.\n", &switchTypeGuid);
if (req_handler_del(switchTypeGuid) < 0) {
LOGINF("type=%pUL.\n", &switch_uuid);
if (req_handler_del(switch_uuid) < 0) {
LOGERR("failed to remove %pUL from server list\n",
&switchTypeGuid);
&switch_uuid);
goto Away;
}
atomic_dec(&uisutils_registered_services);
rc = 1; /* success */
Away:
if (!rc)
LOGERR("failed to unregister type %pUL.\n", &switchTypeGuid);
LOGERR("failed to unregister type %pUL.\n", &switch_uuid);
return rc;
}
EXPORT_SYMBOL_GPL(uisctrl_unregister_req_handler_ex);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment