diff options
author | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2011-11-18 11:53:00 -0500 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2011-11-20 15:56:34 -0500 |
commit | 4c691664583ef6a91f9ed0e08a75fbd30a5ffd5c (patch) | |
tree | 78f9234a8329352e1150ebc5409fe57171dff154 /drivers/base/regmap/internal.h | |
parent | b44d48c1ccf70273a91b7d3a920b0b54c3cb314f (diff) |
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.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/base/regmap/internal.h b/drivers/base/regmap/internal.h index 954f7b73238f..1a02b7537c8b 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, | |||
119 | bool regcache_set_val(void *base, unsigned int idx, | 119 | bool regcache_set_val(void *base, unsigned int idx, |
120 | unsigned int val, unsigned int word_size); | 120 | unsigned int val, unsigned int word_size); |
121 | int regcache_lookup_reg(struct regmap *map, unsigned int reg); | 121 | int regcache_lookup_reg(struct regmap *map, unsigned int reg); |
122 | int regcache_insert_reg(struct regmap *map, unsigned int reg, | ||
123 | unsigned int val); | ||
124 | 122 | ||
125 | extern struct regcache_ops regcache_indexed_ops; | ||
126 | extern struct regcache_ops regcache_rbtree_ops; | 123 | extern struct regcache_ops regcache_rbtree_ops; |
127 | extern struct regcache_ops regcache_lzo_ops; | 124 | extern struct regcache_ops regcache_lzo_ops; |
128 | 125 | ||