lkml.org 
[lkml]   [2010]   [Nov]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] regulator: Add and use rdev_<level> macros
On Mon, Nov 29, 2010 at 11:54:50AM -0800, Joe Perches wrote:

> +#define rdev_debug(rdev, fmt, ...) \
> + pr_debug("%s: " fmt, rdev_get_name(rdev), ##__VA_ARGS__)
> +

This looks good but I'd prefer if this were rdev_dbg() rather than
rdev_debug() to match dev_dbg() - it feels like that would be a better
match given that we're supplying an rdev and it's less typing to boot.


\
 
 \ /
  Last update: 2010-11-29 23:03    [from the cache]
©2003-2011 Jasper Spaans