aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mfd/twl-core.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/mfd/twl-core.c')
-rw-r--r--drivers/mfd/twl-core.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/mfd/twl-core.c b/drivers/mfd/twl-core.c
index ed718328eff1..e87140bef667 100644
--- a/drivers/mfd/twl-core.c
+++ b/drivers/mfd/twl-core.c
@@ -282,11 +282,11 @@ static struct reg_default twl4030_49_defaults[] = {
282static bool twl4030_49_nop_reg(struct device *dev, unsigned int reg) 282static bool twl4030_49_nop_reg(struct device *dev, unsigned int reg)
283{ 283{
284 switch (reg) { 284 switch (reg) {
285 case 0: 285 case 0x00:
286 case 3: 286 case 0x03:
287 case 40: 287 case 0x40:
288 case 41: 288 case 0x41:
289 case 42: 289 case 0x42:
290 return false; 290 return false;
291 default: 291 default:
292 return true; 292 return true;