diff options
author | Jett.Zhou <jtzhou@marvell.com> | 2011-11-11 07:38:27 (GMT) |
---|---|---|
committer | Samuel Ortiz <sameo@linux.intel.com> | 2012-01-08 23:37:30 (GMT) |
commit | b46a36c0e0adc92c8be2c8a6fa68d979f6eee124 (patch) | |
tree | 8553651cc4963fdeb4e2c56f39e69889baf1f399 /include/linux/mfd/88pm860x.h | |
parent | 5bdf7411bc2329cfe015ba6dcf59531e0c6891b8 (diff) | |
download | linux-fsl-qoriq-b46a36c0e0adc92c8be2c8a6fa68d979f6eee124.tar.xz |
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 63b4fb8..92be347 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; |