Staging: comedi: Fix unnecessary space after function pointer
authorMonam Agarwal <monamagarwal123@gmail.com>
Tue, 25 Feb 2014 09:21:26 +0000 (14:51 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 27 Feb 2014 16:38:12 +0000 (08:38 -0800)
This patch fixes the following checkpatch.pl warning in comedidev.h
WARNING: Fix unnecessary space after function pointer

Signed-off-by: Monam Agarwal <monamagarwal123@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/comedi/comedidev.h

index f36bf3e02c4127e9cf25b84d1f733821acb567f8..d46123a975820868ef3d2fd3ac9d61c75ed21a15 100644 (file)
@@ -61,31 +61,31 @@ struct comedi_subdevice {
 
        unsigned int *chanlist; /* driver-owned chanlist (not used) */
 
-       int (*insn_read) (struct comedi_device *, struct comedi_subdevice *,
+       int (*insn_read)(struct comedi_device *, struct comedi_subdevice *,
+                        struct comedi_insn *, unsigned int *);
+       int (*insn_write)(struct comedi_device *, struct comedi_subdevice *,
                          struct comedi_insn *, unsigned int *);
-       int (*insn_write) (struct comedi_device *, struct comedi_subdevice *,
+       int (*insn_bits)(struct comedi_device *, struct comedi_subdevice *,
+                        struct comedi_insn *, unsigned int *);
+       int (*insn_config)(struct comedi_device *, struct comedi_subdevice *,
                           struct comedi_insn *, unsigned int *);
-       int (*insn_bits) (struct comedi_device *, struct comedi_subdevice *,
-                         struct comedi_insn *, unsigned int *);
-       int (*insn_config) (struct comedi_device *, struct comedi_subdevice *,
-                           struct comedi_insn *, unsigned int *);
-
-       int (*do_cmd) (struct comedi_device *, struct comedi_subdevice *);
-       int (*do_cmdtest) (struct comedi_device *, struct comedi_subdevice *,
-                          struct comedi_cmd *);
-       int (*poll) (struct comedi_device *, struct comedi_subdevice *);
-       int (*cancel) (struct comedi_device *, struct comedi_subdevice *);
+
+       int (*do_cmd)(struct comedi_device *, struct comedi_subdevice *);
+       int (*do_cmdtest)(struct comedi_device *, struct comedi_subdevice *,
+                         struct comedi_cmd *);
+       int (*poll)(struct comedi_device *, struct comedi_subdevice *);
+       int (*cancel)(struct comedi_device *, struct comedi_subdevice *);
        /* int (*do_lock)(struct comedi_device *, struct comedi_subdevice *); */
        /* int (*do_unlock)(struct comedi_device *, \
                        struct comedi_subdevice *); */
 
        /* called when the buffer changes */
-       int (*buf_change) (struct comedi_device *dev,
-                          struct comedi_subdevice *s, unsigned long new_size);
+       int (*buf_change)(struct comedi_device *dev,
+                         struct comedi_subdevice *s, unsigned long new_size);
 
-       void (*munge) (struct comedi_device *dev, struct comedi_subdevice *s,
-                      void *data, unsigned int num_bytes,
-                      unsigned int start_chan_index);
+       void (*munge)(struct comedi_device *dev, struct comedi_subdevice *s,
+                     void *data, unsigned int num_bytes,
+                     unsigned int start_chan_index);
        enum dma_data_direction async_dma_dir;
 
        unsigned int state;
@@ -146,8 +146,8 @@ struct comedi_async {
 
        unsigned int cb_mask;
 
-       int (*inttrig) (struct comedi_device *dev, struct comedi_subdevice *s,
-                       unsigned int x);
+       int (*inttrig)(struct comedi_device *dev, struct comedi_subdevice *s,
+                      unsigned int x);
 };
 
 struct comedi_driver {
@@ -155,9 +155,9 @@ struct comedi_driver {
 
        const char *driver_name;
        struct module *module;
-       int (*attach) (struct comedi_device *, struct comedi_devconfig *);
-       void (*detach) (struct comedi_device *);
-       int (*auto_attach) (struct comedi_device *, unsigned long);
+       int (*attach)(struct comedi_device *, struct comedi_devconfig *);
+       void (*detach)(struct comedi_device *);
+       int (*auto_attach)(struct comedi_device *, unsigned long);
 
        /* number of elements in board_name and board_id arrays */
        unsigned int num_names;
@@ -202,8 +202,8 @@ struct comedi_device {
 
        struct fasync_struct *async_queue;
 
-       int (*open) (struct comedi_device *dev);
-       void (*close) (struct comedi_device *dev);
+       int (*open)(struct comedi_device *dev);
+       void (*close)(struct comedi_device *dev);
 };
 
 static inline const void *comedi_board(const struct comedi_device *dev)
This page took 0.028336 seconds and 5 git commands to generate.