Messages in this thread | | | Date | Mon, 29 Nov 2010 22:00:46 +0000 | From | Mark Brown <> | Subject | Re: [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.
| |