Commit 7d51a0dbe51282f3ed13cadf6e7f13a974374be2

Authored by Mark Brown
Committed by Liam Girdwood
1 parent 3801b86aa4

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>

Showing 1 changed file with 2 additions and 0 deletions Side-by-side Diff

drivers/regulator/core.c
... ... @@ -34,6 +34,8 @@
34 34  
35 35 #include "dummy.h"
36 36  
  37 +#define rdev_crit(rdev, fmt, ...) \
  38 + pr_crit("%s: " fmt, rdev_get_name(rdev), ##__VA_ARGS__)
37 39 #define rdev_err(rdev, fmt, ...) \
38 40 pr_err("%s: " fmt, rdev_get_name(rdev), ##__VA_ARGS__)
39 41 #define rdev_warn(rdev, fmt, ...) \