OSDN Git Service

staging: android: ion: ion.c fix parenthesis alignment
authorDidik Setiawan <ds@didiksetiawan.com>
Wed, 24 Aug 2016 09:08:01 +0000 (16:08 +0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 1 Sep 2016 15:40:17 +0000 (17:40 +0200)
Fix checkpatch.pl warning about "Alignment should match open parenthesis".

Signed-off-by: Didik Setiawan <ds@didiksetiawan.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/android/ion/ion.c

index 3d2a79b..47de11a 100644 (file)
@@ -742,7 +742,7 @@ static int ion_get_client_serial(const struct rb_root *root,
 
        for (node = rb_first(root); node; node = rb_next(node)) {
                struct ion_client *client = rb_entry(node, struct ion_client,
-                                               node);
+                                                    node);
 
                if (strcmp(client->name, name))
                        continue;
@@ -817,8 +817,8 @@ struct ion_client *ion_client_create(struct ion_device *dev,
        rb_insert_color(&client->node, &dev->clients);
 
        client->debug_root = debugfs_create_file(client->display_name, 0664,
-                                               dev->clients_debug_root,
-                                               client, &debug_client_fops);
+                                                dev->clients_debug_root,
+                                                client, &debug_client_fops);
        if (!client->debug_root) {
                char buf[256], *path;
 
@@ -1636,4 +1636,3 @@ void ion_device_destroy(struct ion_device *dev)
        kfree(dev);
 }
 EXPORT_SYMBOL(ion_device_destroy);
-