Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

Staging: comedi: Fix unnecessary space after function pointer

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>

authored by

Monam Agarwal and committed by
Greg Kroah-Hartman
0cb4c151 e0f9dfaf

+23 -23
+23 -23
drivers/staging/comedi/comedidev.h
··· 61 61 62 62 unsigned int *chanlist; /* driver-owned chanlist (not used) */ 63 63 64 - int (*insn_read) (struct comedi_device *, struct comedi_subdevice *, 64 + int (*insn_read)(struct comedi_device *, struct comedi_subdevice *, 65 + struct comedi_insn *, unsigned int *); 66 + int (*insn_write)(struct comedi_device *, struct comedi_subdevice *, 65 67 struct comedi_insn *, unsigned int *); 66 - int (*insn_write) (struct comedi_device *, struct comedi_subdevice *, 68 + int (*insn_bits)(struct comedi_device *, struct comedi_subdevice *, 69 + struct comedi_insn *, unsigned int *); 70 + int (*insn_config)(struct comedi_device *, struct comedi_subdevice *, 67 71 struct comedi_insn *, unsigned int *); 68 - int (*insn_bits) (struct comedi_device *, struct comedi_subdevice *, 69 - struct comedi_insn *, unsigned int *); 70 - int (*insn_config) (struct comedi_device *, struct comedi_subdevice *, 71 - struct comedi_insn *, unsigned int *); 72 72 73 - int (*do_cmd) (struct comedi_device *, struct comedi_subdevice *); 74 - int (*do_cmdtest) (struct comedi_device *, struct comedi_subdevice *, 75 - struct comedi_cmd *); 76 - int (*poll) (struct comedi_device *, struct comedi_subdevice *); 77 - int (*cancel) (struct comedi_device *, struct comedi_subdevice *); 73 + int (*do_cmd)(struct comedi_device *, struct comedi_subdevice *); 74 + int (*do_cmdtest)(struct comedi_device *, struct comedi_subdevice *, 75 + struct comedi_cmd *); 76 + int (*poll)(struct comedi_device *, struct comedi_subdevice *); 77 + int (*cancel)(struct comedi_device *, struct comedi_subdevice *); 78 78 /* int (*do_lock)(struct comedi_device *, struct comedi_subdevice *); */ 79 79 /* int (*do_unlock)(struct comedi_device *, \ 80 80 struct comedi_subdevice *); */ 81 81 82 82 /* called when the buffer changes */ 83 - int (*buf_change) (struct comedi_device *dev, 84 - struct comedi_subdevice *s, unsigned long new_size); 83 + int (*buf_change)(struct comedi_device *dev, 84 + struct comedi_subdevice *s, unsigned long new_size); 85 85 86 - void (*munge) (struct comedi_device *dev, struct comedi_subdevice *s, 87 - void *data, unsigned int num_bytes, 88 - unsigned int start_chan_index); 86 + void (*munge)(struct comedi_device *dev, struct comedi_subdevice *s, 87 + void *data, unsigned int num_bytes, 88 + unsigned int start_chan_index); 89 89 enum dma_data_direction async_dma_dir; 90 90 91 91 unsigned int state; ··· 146 146 147 147 unsigned int cb_mask; 148 148 149 - int (*inttrig) (struct comedi_device *dev, struct comedi_subdevice *s, 150 - unsigned int x); 149 + int (*inttrig)(struct comedi_device *dev, struct comedi_subdevice *s, 150 + unsigned int x); 151 151 }; 152 152 153 153 struct comedi_driver { ··· 155 155 156 156 const char *driver_name; 157 157 struct module *module; 158 - int (*attach) (struct comedi_device *, struct comedi_devconfig *); 159 - void (*detach) (struct comedi_device *); 160 - int (*auto_attach) (struct comedi_device *, unsigned long); 158 + int (*attach)(struct comedi_device *, struct comedi_devconfig *); 159 + void (*detach)(struct comedi_device *); 160 + int (*auto_attach)(struct comedi_device *, unsigned long); 161 161 162 162 /* number of elements in board_name and board_id arrays */ 163 163 unsigned int num_names; ··· 202 202 203 203 struct fasync_struct *async_queue; 204 204 205 - int (*open) (struct comedi_device *dev); 206 - void (*close) (struct comedi_device *dev); 205 + int (*open)(struct comedi_device *dev); 206 + void (*close)(struct comedi_device *dev); 207 207 }; 208 208 209 209 static inline const void *comedi_board(const struct comedi_device *dev)