summaryrefslogtreecommitdiff
path: root/include/linux/mfd/88pm860x.h
diff options
context:
space:
mode:
authorJett.Zhou <jtzhou@marvell.com>2011-11-11 15:38:27 +0800
committerSamuel Ortiz <sameo@linux.intel.com>2012-01-09 00:37:30 +0100
commitb46a36c0e0adc92c8be2c8a6fa68d979f6eee124 (patch)
tree8553651cc4963fdeb4e2c56f39e69889baf1f399 /include/linux/mfd/88pm860x.h
parent5bdf7411bc2329cfe015ba6dcf59531e0c6891b8 (diff)
mfd: Convert 88pm860x to use regmap api
Convert the 88pm860x normal bank register read/write to use the register map API. Signed-off-by: Jett.Zhou <jtzhou@marvell.com> Reviewed-by: Mark Brown <broonie@opensource.wolfsonmicro.com> Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'include/linux/mfd/88pm860x.h')
-rw-r--r--include/linux/mfd/88pm860x.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/linux/mfd/88pm860x.h b/include/linux/mfd/88pm860x.h
index 63b4fb8e3b6f..92be3476c9f5 100644
--- a/include/linux/mfd/88pm860x.h
+++ b/include/linux/mfd/88pm860x.h
@@ -297,10 +297,11 @@ enum {
struct pm860x_chip {
struct device *dev;
- struct mutex io_lock;
struct mutex irq_lock;
struct i2c_client *client;
struct i2c_client *companion; /* companion chip client */
+ struct regmap *regmap;
+ struct regmap *regmap_companion;
int buck3_double; /* DVC ramp slope double */
unsigned short companion_addr;