diff options
author | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2011-06-09 16:06:37 +0100 |
---|---|---|
committer | Liam Girdwood <lrg@slimlogic.co.uk> | 2011-06-09 19:14:35 +0100 |
commit | 7d51a0dbe51282f3ed13cadf6e7f13a974374be2 (patch) | |
tree | 76369ca4c4b30a8df3fe275245f1b65fb9dd1fd3 /drivers/regulator/core.c | |
parent | 3801b86aa482d26a8ae460f67fca29e016491a86 (diff) |
regulator: Add rdev_crit() macro
No actual users but provide the macro so there's less surprise when it's
not there.
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Liam Girdwood <lrg@slimlogic.co.uk>
Diffstat (limited to 'drivers/regulator/core.c')
-rw-r--r-- | drivers/regulator/core.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/regulator/core.c b/drivers/regulator/core.c index f0cc3983ffe..cc3dfd66f39 100644 --- a/drivers/regulator/core.c +++ b/drivers/regulator/core.c @@ -34,6 +34,8 @@ #include "dummy.h" +#define rdev_crit(rdev, fmt, ...) \ + pr_crit("%s: " fmt, rdev_get_name(rdev), ##__VA_ARGS__) #define rdev_err(rdev, fmt, ...) \ pr_err("%s: " fmt, rdev_get_name(rdev), ##__VA_ARGS__) #define rdev_warn(rdev, fmt, ...) \ |