aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorMark Brown <broonie@opensource.wolfsonmicro.com>2012-03-14 09:12:33 -0400
committerMark Brown <broonie@opensource.wolfsonmicro.com>2012-03-14 09:12:33 -0400
commite1c1c69c8fc7656c33460c8e085ac0d0be22ac3b (patch)
tree3199753118adf26baf52841cb913afa77f549829 /include
parentf5d6eba74b8aac7d4bf646c5445807aa6a247e6c (diff)
parentc0eb46766d395da8d62148bda2e59bad5e6ee2f2 (diff)
Merge remote-tracking branches 'regmap/topic/core' and 'regmap/topic/devm' into regmap-next
Diffstat (limited to 'include')
-rw-r--r--include/linux/regmap.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/linux/regmap.h b/include/linux/regmap.h
index 14b8252d8ed0..5b0908a7f5bf 100644
--- a/include/linux/regmap.h
+++ b/include/linux/regmap.h
@@ -132,6 +132,14 @@ struct regmap *regmap_init_i2c(struct i2c_client *i2c,
132struct regmap *regmap_init_spi(struct spi_device *dev, 132struct regmap *regmap_init_spi(struct spi_device *dev,
133 const struct regmap_config *config); 133 const struct regmap_config *config);
134 134
135struct regmap *devm_regmap_init(struct device *dev,
136 const struct regmap_bus *bus,
137 const struct regmap_config *config);
138struct regmap *devm_regmap_init_i2c(struct i2c_client *i2c,
139 const struct regmap_config *config);
140struct regmap *devm_regmap_init_spi(struct spi_device *dev,
141 const struct regmap_config *config);
142
135void regmap_exit(struct regmap *map); 143void regmap_exit(struct regmap *map);
136int regmap_reinit_cache(struct regmap *map, 144int regmap_reinit_cache(struct regmap *map,
137 const struct regmap_config *config); 145 const struct regmap_config *config);