This is a patch to the ni_at_a2150.c file that fixes up a brace warning found by the checkpatch.pl tool. Converted printks to dev_<levels>. Signed-off-by: Ravishankar Karkala Mallikarjunayya <ravishankar.km@xxxxxxxxxxxxxxx> --- drivers/staging/comedi/drivers/ni_at_a2150.c | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/drivers/staging/comedi/drivers/ni_at_a2150.c b/drivers/staging/comedi/drivers/ni_at_a2150.c index 26f204c..ca4ddc2 100644 --- a/drivers/staging/comedi/drivers/ni_at_a2150.c +++ b/drivers/staging/comedi/drivers/ni_at_a2150.c @@ -396,11 +396,12 @@ static int a2150_attach(struct comedi_device *dev, struct comedi_devconfig *it) /* initialize dma */ if (dma) { if (dma == 4 || dma > 7) { - printk(" invalid dma channel %u\n", dma); + dev_err(dev->hw_dev, "invalid dma channel %u\n", dma); return -EINVAL; } if (request_dma(dma, driver_a2150.driver_name)) { - printk(" failed to allocate dma channel %u\n", dma); + dev_dbg(dev->hw_dev, "failed to allocate dma channel %u\n", + dma); return -EINVAL; } devpriv->dma = dma; -- 1.7.0.4 _______________________________________________ devel mailing list devel@xxxxxxxxxxxxxxxxxxxxxx http://driverdev.linuxdriverproject.org/mailman/listinfo/devel