diff options
author | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2011-06-09 17:06:37 +0200 |
---|---|---|
committer | Liam Girdwood <lrg@slimlogic.co.uk> | 2011-06-09 20:14:35 +0200 |
commit | 7d51a0dbe51282f3ed13cadf6e7f13a974374be2 (patch) | |
tree | 76369ca4c4b30a8df3fe275245f1b65fb9dd1fd3 /drivers | |
parent | regulator: Refactor supply implementation to work as regular consumers (diff) | |
download | linux-7d51a0dbe51282f3ed13cadf6e7f13a974374be2.tar.xz linux-7d51a0dbe51282f3ed13cadf6e7f13a974374be2.zip |
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')
-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 f0cc3983ffee..cc3dfd66f395 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, ...) \ |