Re: [PATCH] staging: ft1000: Replace printk with pr_info in ft1000_cs.c

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, May 14, 2014 at 10:12:46AM +0200, Tobias Klauser wrote:
> On 2014-05-13 at 16:43:57 +0200, Masanari Iida <standby24x7@xxxxxxxxx> wrote:
> > This patch replaced printk with pr_info.
> 
> It would be even better to use dev_err(), since these are error messages
> and you can use the struct dev from link->dev. You can also drop the
> "ft1000:" prefix then.

I agree, that's the better fix here.

_______________________________________________
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxx
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel




[Index of Archives]     [Linux Driver Backports]     [DMA Engine]     [Linux GPIO]     [Linux SPI]     [Video for Linux]     [Linux USB Devel]     [Linux Coverity]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux