Staging: vc04_services: fix brace coding style issues in vchiq_shim.c
authorTomas Marek <marek_tomas@centrum.cz>
Wed, 13 Dec 2017 20:51:22 +0000 (12:51 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 19 Dec 2017 14:17:45 +0000 (15:17 +0100)
This patch fix brace on next line coding style errors reported by
checkpatch.

Signed-off-by: Tomas Marek <marek_tomas@centrum.cz>
Acked-by: Stefan Wahren <stefan.wahren@i2se.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/vc04_services/interface/vchiq_arm/vchiq_shim.c

index d465e1cf5db93e4b4f7691d1b2cccedc2a09e190..29984f9795c7ac00a0618959fcbd24492ed245e4 100644 (file)
@@ -800,8 +800,7 @@ int32_t vchi_get_peer_version(const VCHI_SERVICE_HANDLE_T handle, short *peer_ve
        int32_t ret = -1;
        struct shim_service *service = (struct shim_service *)handle;
 
-       if (service)
-       {
+       if (service) {
                VCHIQ_STATUS_T status;
 
                status = vchiq_get_peer_version(service->handle, peer_version);