mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] Staging: comedi: comedidev.h: fix checkpatch code style issue
@ 2014-08-05 23:29 Dzonatans Melgalvis
  2014-08-05 23:35 ` Greg KH
  2014-08-06  2:31 ` Joe Perches
  0 siblings, 2 replies; 3+ messages in thread
From: Dzonatans Melgalvis @ 2014-08-05 23:29 UTC (permalink / raw)
  To: gregkh; +Cc: devel, linux-kernel, Dzonatans Melgalvis

Fixing checkpatch warning - blank line missing after declaration.

Signed-off-by: Dzonatans Melgalvis <dz.melgalvis@gmail.com>
---
 drivers/staging/comedi/comedidev.h | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/drivers/staging/comedi/comedidev.h b/drivers/staging/comedi/comedidev.h
index 58e58a3..c9b7978 100644
--- a/drivers/staging/comedi/comedidev.h
+++ b/drivers/staging/comedi/comedidev.h
@@ -57,6 +57,7 @@ struct comedi_subdevice {
 	const unsigned int *maxdata_list;	/* list is channel specific */
 
 	const struct comedi_lrange *range_table;
+
 	const struct comedi_lrange *const *range_table_list;
 
 	unsigned int *chanlist;	/* driver-owned chanlist (not used) */
@@ -207,8 +208,10 @@ struct comedi_async {
 	struct comedi_cmd cmd;
 	wait_queue_head_t wait_head;
 	unsigned int cb_mask;
+
 	int (*inttrig)(struct comedi_device *dev, struct comedi_subdevice *s,
 		       unsigned int x);
+
 };
 
 struct comedi_driver {
@@ -216,13 +219,16 @@ 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);
 
 	/* number of elements in board_name and board_id arrays */
 	unsigned int num_names;
+
 	const char *const *board_name;
+
 	/* offset in bytes from one board name pointer to the next */
 	int offset;
 };
-- 
1.9.1


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2014-08-06  2:31 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-08-05 23:29 [PATCH] Staging: comedi: comedidev.h: fix checkpatch code style issue Dzonatans Melgalvis
2014-08-05 23:35 ` Greg KH
2014-08-06  2:31 ` Joe Perches

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®