diff options
author | Jett.Zhou <jtzhou@marvell.com> | 2011-11-11 02:38:27 -0500 |
---|---|---|
committer | Samuel Ortiz <sameo@linux.intel.com> | 2012-01-08 18:37:30 -0500 |
commit | b46a36c0e0adc92c8be2c8a6fa68d979f6eee124 (patch) | |
tree | 8553651cc4963fdeb4e2c56f39e69889baf1f399 /include/linux/mfd/88pm860x.h | |
parent | 5bdf7411bc2329cfe015ba6dcf59531e0c6891b8 (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.h | 3 |
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 { | |||
297 | 297 | ||
298 | struct pm860x_chip { | 298 | struct pm860x_chip { |
299 | struct device *dev; | 299 | struct device *dev; |
300 | struct mutex io_lock; | ||
301 | struct mutex irq_lock; | 300 | struct mutex irq_lock; |
302 | struct i2c_client *client; | 301 | struct i2c_client *client; |
303 | struct i2c_client *companion; /* companion chip client */ | 302 | struct i2c_client *companion; /* companion chip client */ |
303 | struct regmap *regmap; | ||
304 | struct regmap *regmap_companion; | ||
304 | 305 | ||
305 | int buck3_double; /* DVC ramp slope double */ | 306 | int buck3_double; /* DVC ramp slope double */ |
306 | unsigned short companion_addr; | 307 | unsigned short companion_addr; |