staging: android: add identifiers to function parameters
authorAshish Kalra <eashishkalra@gmail.com>
Sat, 2 Dec 2017 17:29:27 +0000 (22:59 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 6 Dec 2017 09:05:06 +0000 (10:05 +0100)
Fix checkpatch.pl warnings of the form "function definition argument
'foo' should also have an identifier name".

Signed-off-by: Ashish Kalra <eashishkalra@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/android/ion/ion.h

index 7409437..c24c6e2 100644 (file)
@@ -180,7 +180,8 @@ struct ion_heap {
        wait_queue_head_t waitqueue;
        struct task_struct *task;
 
-       int (*debug_show)(struct ion_heap *heap, struct seq_file *, void *);
+       int (*debug_show)(struct ion_heap *heap, struct seq_file *s,
+                         void *unused);
 };
 
 /**