summaryrefslogtreecommitdiffstats
path: root/include/linux/regmap.h
diff options
context:
space:
mode:
authorMark Brown <broonie@opensource.wolfsonmicro.com>2012-03-14 13:12:33 +0000
committerMark Brown <broonie@opensource.wolfsonmicro.com>2012-03-14 13:12:33 +0000
commite1c1c69c8fc7656c33460c8e085ac0d0be22ac3b (patch)
tree3199753118adf26baf52841cb913afa77f549829 /include/linux/regmap.h
parentf5d6eba74b8aac7d4bf646c5445807aa6a247e6c (diff)
parentc0eb46766d395da8d62148bda2e59bad5e6ee2f2 (diff)
Merge remote-tracking branches 'regmap/topic/core' and 'regmap/topic/devm' into regmap-next
Diffstat (limited to 'include/linux/regmap.h')
-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 14b8252d8ed..5b0908a7f5b 100644
--- a/include/linux/regmap.h
+++ b/include/linux/regmap.h
@@ -132,6 +132,14 @@ struct regmap *regmap_init_i2c(struct i2c_client *i2c,
struct regmap *regmap_init_spi(struct spi_device *dev,
const struct regmap_config *config);
+struct regmap *devm_regmap_init(struct device *dev,
+ const struct regmap_bus *bus,
+ const struct regmap_config *config);
+struct regmap *devm_regmap_init_i2c(struct i2c_client *i2c,
+ const struct regmap_config *config);
+struct regmap *devm_regmap_init_spi(struct spi_device *dev,
+ const struct regmap_config *config);
+
void regmap_exit(struct regmap *map);
int regmap_reinit_cache(struct regmap *map,
const struct regmap_config *config);