]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
staging: comedi: ni_labpc.h: add identifiers to function parameters
authorIan Abbott <abbotti@mev.co.uk>
Thu, 15 Dec 2016 13:19:44 +0000 (13:19 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 3 Jan 2017 14:27:55 +0000 (15:27 +0100)
Fix checkpatch.pl warnings of the form "function definition argument
'foo' should also have an identifier name".

Signed-off-by: Ian Abbott <abbotti@mev.co.uk>
Reviewed-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/comedi/drivers/ni_labpc.h

index be8d5cd3f7f0c2e76ab4698130171393119d440a..c2edadc7b3c6d7210d9ec9856232d77542fa8886 100644 (file)
@@ -52,8 +52,8 @@ struct labpc_private {
         * function pointers so we can use inb/outb or readb/writeb as
         * appropriate
         */
-       unsigned int (*read_byte)(struct comedi_device *, unsigned long reg);
-       void (*write_byte)(struct comedi_device *,
+       unsigned int (*read_byte)(struct comedi_device *dev, unsigned long reg);
+       void (*write_byte)(struct comedi_device *dev,
                           unsigned int byte, unsigned long reg);
 };