[PATCH V2 2/7] Staging: comedi: fix line over 80 character warning in unioxx5.c

2013-11-21 Thread Conrad Gomes
This is a patch to fix a line over 80 character warning found by checkpatch.pl in a comment. The comment was reworded to fix the warning Signed-off-by: Conrad Gomes --- drivers/staging/comedi/drivers/unioxx5.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers

[PATCH V2 1/7] Staging: comedi: fix line over 80 character warning in unioxx5.c

2013-11-21 Thread Conrad Gomes
This is a patch to unioxx5.c that fixes the line over 80 character warning found by checkpatch.pl by initializing n_subd before the for loop Signed-off-by: Conrad Gomes --- drivers/staging/comedi/drivers/unioxx5.c |3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers

[PATCH V2 4/7] Staging: comedi: change pr_err to dev_err in __unioxx5_analog_read

2013-11-21 Thread Conrad Gomes
This is a patch which subsitutes pr_err with dev_err in __unioxx5_analog_read as it is the preferred way to log in device drivers Signed-off-by: Conrad Gomes --- drivers/staging/comedi/drivers/unioxx5.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging

[PATCH V2 0/7] Staging: comedi: fix coding style issues in unioxx5.c

2013-11-21 Thread Conrad Gomes
This series contains various fixes to coding style issues in unioxx5.c found by checkpatch.pl and due to the usage of pr_err instead of the preferred dev_err type functions for device drivers. Conrad Gomes (7): Staging: comedi: fix line over 80 character warning in unioxx5.c Staging: comedi

[PATCH V2 5/7] Staging: comedi: change pr_err to dev_err in __unioxx5_digital_write

2013-11-21 Thread Conrad Gomes
-off-by: Conrad Gomes --- drivers/staging/comedi/drivers/unioxx5.c |8 +--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/drivers/staging/comedi/drivers/unioxx5.c b/drivers/staging/comedi/drivers/unioxx5.c index 7edbd5e..343ba96 100644 --- a/drivers/staging/comedi/drivers

[PATCH V2 3/7] Staging: comedi: change printk to dev_err/dev_dbg in unioxx5.c

2013-11-21 Thread Conrad Gomes
comedi_subdevice in these functions. The function calls of __unioxx5_digital_read and __unioxx5_analog_read in unioxx5_subdev_read have been changed to pass the pointer to the struct comedi_subdevice. Signed-off-by: Conrad Gomes --- drivers/staging/comedi/drivers/unioxx5.c | 26

[PATCH V2 7/7] Staging: comedi: remove MACRO pr_fmt in unioxx5.c

2013-11-21 Thread Conrad Gomes
This patch removes MACRO definition pr_fmt which was initially required by pr_info and pr_err logging functions. Signed-off-by: Conrad Gomes --- drivers/staging/comedi/drivers/unioxx5.c |1 - 1 file changed, 1 deletion(-) diff --git a/drivers/staging/comedi/drivers/unioxx5.c b/drivers

[PATCH V2 6/7] Staging: comedi: change pr_err to dev_err in __unioxx5_analog_write

2013-11-21 Thread Conrad Gomes
-by: Conrad Gomes --- drivers/staging/comedi/drivers/unioxx5.c |8 +--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/drivers/staging/comedi/drivers/unioxx5.c b/drivers/staging/comedi/drivers/unioxx5.c index 343ba96..6bbc934 100644 --- a/drivers/staging/comedi/drivers

[PATCH] Staging: comedi: fix coding style issues in unioxx5.c

2013-11-01 Thread Conrad Gomes
This is a patch which fixes coding style issues in unioxx5.c found by checkpatch.pl 1) Replaced printk with pr_info and pr_err 2) Reinitialized n_subd before for loop to fix over 80 character warning 3) Reworded comment to fix 80 character warning Signed-off-by: Conrad Gomes --- drivers