mirror of https://gitee.com/openkylin/linux.git
staging: unisys: fix brackets in uisctrl_register_req_handler_ex()
Add the missing brackets to the last if statement in this function. Signed-off-by: Bryan Thompson <bryan.thompson@unisys.com> Signed-off-by: Benjamin Romer <benjamin.romer@unisys.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
6791b8c4d2
commit
61f988961f
|
@ -148,9 +148,9 @@ uisctrl_register_req_handler_ex(uuid_le switch_uuid,
|
|||
if (chipset_driver_info)
|
||||
bus_device_info_init(chipset_driver_info, "chipset",
|
||||
"uislib", VERSION, NULL);
|
||||
} else
|
||||
} else {
|
||||
LOGERR("failed to register type %pUL.\n", &switch_uuid);
|
||||
|
||||
}
|
||||
return rc;
|
||||
}
|
||||
EXPORT_SYMBOL_GPL(uisctrl_register_req_handler_ex);
|
||||
|
|
Loading…
Reference in New Issue