Add the missing brackets to the last if statement in this function.
Signed-off-by: Bryan Thompson <[email protected]>
Signed-off-by: Benjamin Romer <[email protected]>
---
drivers/staging/unisys/uislib/uisutils.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/staging/unisys/uislib/uisutils.c
b/drivers/staging/unisys/uislib/uisutils.c
index 5865df7..6d13eb2 100644
--- a/drivers/staging/unisys/uislib/uisutils.c
+++ b/drivers/staging/unisys/uislib/uisutils.c
@@ -148,9 +148,9 @@ Away:
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);
--
2.1.0
_______________________________________________
devel mailing list
[email protected]
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel