lkml.org 
[lkml]   [2009]   [Jul]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: HTC: touchscreen driver
On Mon 2009-07-13 18:44:23, Joe Perches wrote:
> On Mon, 2009-07-13 at 18:29 -0700, Arve Hj??nnev??g wrote:
> > On Mon, Jul 13, 2009 at 3:07 PM, Pavel Machek<pavel@ucw.cz> wrote:
> > > - printk(KERN_ERR "synaptics_ts_work_func: i2c_transfer failed\n");
> > > + printk(KERN_ERR "ts_work: i2c_transfer failed\n");
> > This will make it harder to read the kernel logs since the driver is
> > no longer specified.
>
> How about converting to:
>
> #define pr_fmt(fmt) KBUILD_MODNAME ":%s: " fmt, __func__
> or
> #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
>
> and pr_<level>()

Good idea, thanks.

--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html


\
 
 \ /
  Last update: 2009-07-14 11:49    [from the cache]
©2003-2011 Jasper Spaans