]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
staging: unisys: fix brackets in uisctrl_register_req_handler_ex()
authorBenjamin Romer <benjamin.romer@unisys.com>
Fri, 5 Dec 2014 22:09:11 +0000 (17:09 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 10 Jan 2015 01:32:34 +0000 (17:32 -0800)
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>
drivers/staging/unisys/uislib/uisutils.c

index 5865df7d4ba9d6427b5d58f6cd103e53af431ff8..6d13eb23d4971b198f05762f3f6c71b54dd9a539 100644 (file)
@@ -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);