summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--drivers/power/axp_power/axp20-mfd.h11
1 files changed, 6 insertions, 5 deletions
diff --git a/drivers/power/axp_power/axp20-mfd.h b/drivers/power/axp_power/axp20-mfd.h
index cca090a2f2ea..3c4ad310cba3 100644
--- a/drivers/power/axp_power/axp20-mfd.h
+++ b/drivers/power/axp_power/axp20-mfd.h
@@ -26,11 +26,12 @@
static int __devinit axp20_init_chip(struct axp_mfd_chip *chip)
{
uint8_t chip_id;
- uint8_t v[19] = {0xd8,POWER20_INTEN2, 0xff,POWER20_INTEN3,0x03,
- POWER20_INTEN4, 0x01,POWER20_INTEN5, 0x00,
- POWER20_INTSTS1,0xff,POWER20_INTSTS2, 0xff,
- POWER20_INTSTS3,0xff,POWER20_INTSTS4, 0xff,
- POWER20_INTSTS5,0xff};
+ uint8_t v[19] = { /* POWER20_INTEN1 */ 0xd8,
+ POWER20_INTEN2, 0xff, POWER20_INTEN3, 0x03,
+ POWER20_INTEN4, 0x01, POWER20_INTEN5, 0x00,
+ POWER20_INTSTS1, 0xff, POWER20_INTSTS2, 0xff,
+ POWER20_INTSTS3, 0xff, POWER20_INTSTS4, 0xff,
+ POWER20_INTSTS5, 0xff };
int err;
/*read chip id*/
err = __axp_read(chip->client, POWER20_IC_TYPE, &chip_id);