aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/regulator
diff options
context:
space:
mode:
authorMark Brown <broonie@opensource.wolfsonmicro.com>2011-06-09 11:06:37 -0400
committerLiam Girdwood <lrg@slimlogic.co.uk>2011-06-09 14:14:35 -0400
commit7d51a0dbe51282f3ed13cadf6e7f13a974374be2 (patch)
tree76369ca4c4b30a8df3fe275245f1b65fb9dd1fd3 /drivers/regulator
parent3801b86aa482d26a8ae460f67fca29e016491a86 (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')
-rw-r--r--drivers/regulator/core.c2
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 @@
34 34
35#include "dummy.h" 35#include "dummy.h"
36 36
37#define rdev_crit(rdev, fmt, ...) \
38 pr_crit("%s: " fmt, rdev_get_name(rdev), ##__VA_ARGS__)
37#define rdev_err(rdev, fmt, ...) \ 39#define rdev_err(rdev, fmt, ...) \
38 pr_err("%s: " fmt, rdev_get_name(rdev), ##__VA_ARGS__) 40 pr_err("%s: " fmt, rdev_get_name(rdev), ##__VA_ARGS__)
39#define rdev_warn(rdev, fmt, ...) \ 41#define rdev_warn(rdev, fmt, ...) \