[PATCH 03/30] Staging: comedi: fix printk issue in daqboard2000.c
Greg KH
greg at kroah.com
Fri Dec 9 00:00:48 UTC 2011
On Thu, Dec 08, 2011 at 06:21:58PM +0530, Ravishankar karkala Mallikarjunayya wrote:
> This is a patch to the daqboard2000.c file that fixes up a
> printk warning found by the checkpatch.pl tool.
>
> Converted printks to pr_<levels>.
>
> Signed-off-by: Ravishankar Karkala Mallikarjunayya <ravishankar.km at greenturtles.in>
> ---
> drivers/staging/comedi/drivers/daqboard2000.c | 6 +++---
> 1 files changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/drivers/staging/comedi/drivers/daqboard2000.c b/drivers/staging/comedi/drivers/daqboard2000.c
> index a16060e..265c650 100644
> --- a/drivers/staging/comedi/drivers/daqboard2000.c
> +++ b/drivers/staging/comedi/drivers/daqboard2000.c
> @@ -502,7 +502,7 @@ static int daqboard2000_ao_insn_write(struct comedi_device *dev,
>
> static void daqboard2000_resetLocalBus(struct comedi_device *dev)
> {
> - printk("daqboard2000_resetLocalBus\n");
> + pr_debug("daqboard2000_resetLocalBus\n");
What's wrong with dev_dbg()? Please use the dev_* functions wherever
possible, like here and in all of the other printk patches you sent.
thanks,
greg k-h
More information about the devel
mailing list