aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mfd/lm3533-core.c
diff options
context:
space:
mode:
authorJohan Hovold <jhovold@gmail.com>2012-05-18 14:22:46 -0400
committerSamuel Ortiz <sameo@linux.intel.com>2012-05-20 11:27:14 -0400
commitc48bf153f293894d232ee44f5bff99c523a06585 (patch)
tree03ee91aaaf91e9ae44e2aaf351dac5a7d1854020 /drivers/mfd/lm3533-core.c
parent6090885597e6500f6671a0f7bab9e82dfa6f38be (diff)
mfd: Mark two lm3533 zone registers as volatile
Mark the two currently unused zone registers as volatile in regmap for completeness. Signed-off-by: Johan Hovold <jhovold@gmail.com> Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'drivers/mfd/lm3533-core.c')
-rw-r--r--drivers/mfd/lm3533-core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mfd/lm3533-core.c b/drivers/mfd/lm3533-core.c
index 104faba494c9..0b2879b87fd9 100644
--- a/drivers/mfd/lm3533-core.c
+++ b/drivers/mfd/lm3533-core.c
@@ -567,7 +567,7 @@ static bool lm3533_readable_register(struct device *dev, unsigned int reg)
567static bool lm3533_volatile_register(struct device *dev, unsigned int reg) 567static bool lm3533_volatile_register(struct device *dev, unsigned int reg)
568{ 568{
569 switch (reg) { 569 switch (reg) {
570 case 0x34: /* zone */ 570 case 0x34 ... 0x36: /* zone */
571 case 0x37 ... 0x38: /* adc */ 571 case 0x37 ... 0x38: /* adc */
572 case 0xb0 ... 0xb1: /* fault */ 572 case 0xb0 ... 0xb1: /* fault */
573 return true; 573 return true;