OSDN Git Service

Staging: iio: meter: Fix unnecessary space warning
authorAybuke Ozdemir <aybuke.147@gmail.com>
Sun, 21 Sep 2014 17:43:06 +0000 (20:43 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 22 Sep 2014 14:59:36 +0000 (07:59 -0700)
Fixed "Unnecessary space before function pointer argument" checkpatch.pl
warning in ade7854.h

Signed-off-by: Aybuke Ozdemir <aybuke.147@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/iio/meter/ade7854.h

index 0653457..52ca541 100644 (file)
 struct ade7854_state {
        struct spi_device       *spi;
        struct i2c_client       *i2c;
-       int                     (*read_reg_8) (struct device *, u16, u8 *);
-       int                     (*read_reg_16) (struct device *, u16, u16 *);
-       int                     (*read_reg_24) (struct device *, u16, u32 *);
-       int                     (*read_reg_32) (struct device *, u16, u32 *);
-       int                     (*write_reg_8) (struct device *, u16, u8);
-       int                     (*write_reg_16) (struct device *, u16, u16);
-       int                     (*write_reg_24) (struct device *, u16, u32);
-       int                     (*write_reg_32) (struct device *, u16, u32);
+       int                     (*read_reg_8)(struct device *, u16, u8 *);
+       int                     (*read_reg_16)(struct device *, u16, u16 *);
+       int                     (*read_reg_24)(struct device *, u16, u32 *);
+       int                     (*read_reg_32)(struct device *, u16, u32 *);
+       int                     (*write_reg_8)(struct device *, u16, u8);
+       int                     (*write_reg_16)(struct device *, u16, u16);
+       int                     (*write_reg_24)(struct device *, u16, u32);
+       int                     (*write_reg_32)(struct device *, u16, u32);
        int                     irq;
        struct mutex            buf_lock;
        u8                      tx[ADE7854_MAX_TX] ____cacheline_aligned;