Commit b2bcdadc authored by Didik Setiawan's avatar Didik Setiawan Committed by Greg Kroah-Hartman

staging: android: ion: ion.c fix parenthesis alignment

Fix checkpatch.pl warning about "Alignment should match open parenthesis".
Signed-off-by: default avatarDidik Setiawan <ds@didiksetiawan.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 9924e5de
...@@ -742,7 +742,7 @@ static int ion_get_client_serial(const struct rb_root *root, ...@@ -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)) { for (node = rb_first(root); node; node = rb_next(node)) {
struct ion_client *client = rb_entry(node, struct ion_client, struct ion_client *client = rb_entry(node, struct ion_client,
node); node);
if (strcmp(client->name, name)) if (strcmp(client->name, name))
continue; continue;
...@@ -817,8 +817,8 @@ struct ion_client *ion_client_create(struct ion_device *dev, ...@@ -817,8 +817,8 @@ struct ion_client *ion_client_create(struct ion_device *dev,
rb_insert_color(&client->node, &dev->clients); rb_insert_color(&client->node, &dev->clients);
client->debug_root = debugfs_create_file(client->display_name, 0664, client->debug_root = debugfs_create_file(client->display_name, 0664,
dev->clients_debug_root, dev->clients_debug_root,
client, &debug_client_fops); client, &debug_client_fops);
if (!client->debug_root) { if (!client->debug_root) {
char buf[256], *path; char buf[256], *path;
...@@ -1636,4 +1636,3 @@ void ion_device_destroy(struct ion_device *dev) ...@@ -1636,4 +1636,3 @@ void ion_device_destroy(struct ion_device *dev)
kfree(dev); kfree(dev);
} }
EXPORT_SYMBOL(ion_device_destroy); EXPORT_SYMBOL(ion_device_destroy);
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment