summaryrefslogtreecommitdiffstats
path: root/drivers/base/regmap/internal.h
diff options
context:
space:
mode:
authorMark Brown <broonie@opensource.wolfsonmicro.com>2011-11-18 16:53:00 +0000
committerMark Brown <broonie@opensource.wolfsonmicro.com>2011-11-20 20:56:34 +0000
commit4c691664583ef6a91f9ed0e08a75fbd30a5ffd5c (patch)
tree78f9234a8329352e1150ebc5409fe57171dff154 /drivers/base/regmap/internal.h
parentb44d48c1ccf70273a91b7d3a920b0b54c3cb314f (diff)
downloadop-kernel-dev-4c691664583ef6a91f9ed0e08a75fbd30a5ffd5c.zip
op-kernel-dev-4c691664583ef6a91f9ed0e08a75fbd30a5ffd5c.tar.gz
regmap: Remove indexed cache type
There should be no situation where it offers any advantage over rbtree and there are no current users so remove the code for simplicity. Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'drivers/base/regmap/internal.h')
-rw-r--r--drivers/base/regmap/internal.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/base/regmap/internal.h b/drivers/base/regmap/internal.h
index 954f7b7..1a02b75 100644
--- a/drivers/base/regmap/internal.h
+++ b/drivers/base/regmap/internal.h
@@ -119,10 +119,7 @@ unsigned int regcache_get_val(const void *base, unsigned int idx,
bool regcache_set_val(void *base, unsigned int idx,
unsigned int val, unsigned int word_size);
int regcache_lookup_reg(struct regmap *map, unsigned int reg);
-int regcache_insert_reg(struct regmap *map, unsigned int reg,
- unsigned int val);
-extern struct regcache_ops regcache_indexed_ops;
extern struct regcache_ops regcache_rbtree_ops;
extern struct regcache_ops regcache_lzo_ops;
OpenPOWER on IntegriCloud