staging: vchiq_arm: fix open brace placement errors
authorTara Null <tn@fastmail.net>
Sun, 17 Dec 2017 22:36:21 +0000 (22:36 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 19 Dec 2017 14:17:45 +0000 (15:17 +0100)
Fix checkpatch errors relating to open brace placement for enums and
function definitions.

Signed-off-by: Tara Null <tn@fastmail.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c

index ecff92bae2000d41f5f5062a323f414a56dd7e38..5d28fff46557ec262c5e9797dd4d80dcef6e7f4d 100644 (file)
@@ -66,8 +66,7 @@ struct vchiq_openack_payload {
        short version;
 };
 
-enum
-{
+enum {
        QMFLAGS_IS_BLOCKING     = (1 << 0),
        QMFLAGS_NO_MUTEX_LOCK   = (1 << 1),
        QMFLAGS_NO_MUTEX_UNLOCK = (1 << 2)
@@ -212,7 +211,8 @@ find_service_by_port(VCHIQ_STATE_T *state, int localport)
 
 VCHIQ_SERVICE_T *
 find_service_for_instance(VCHIQ_INSTANCE_T instance,
-       VCHIQ_SERVICE_HANDLE_T handle) {
+       VCHIQ_SERVICE_HANDLE_T handle)
+{
        VCHIQ_SERVICE_T *service;
 
        spin_lock(&service_spinlock);
@@ -235,7 +235,8 @@ find_service_for_instance(VCHIQ_INSTANCE_T instance,
 
 VCHIQ_SERVICE_T *
 find_closed_service_for_instance(VCHIQ_INSTANCE_T instance,
-       VCHIQ_SERVICE_HANDLE_T handle) {
+       VCHIQ_SERVICE_HANDLE_T handle)
+{
        VCHIQ_SERVICE_T *service;
 
        spin_lock(&service_spinlock);