Skip to content

Commit 9500d38

Browse files
Bo Liubroonie
authored andcommitted
regulator: tps51632: convert to use maple tree register cache
The maple tree register cache is based on a much more modern data structure than the rbtree cache and makes optimisation choices which are probably more appropriate for modern systems than those made by the rbtree cache. Signed-off-by: Bo Liu <[email protected]> Link: https://msgid.link/r/[email protected] Signed-off-by: Mark Brown <[email protected]>
1 parent 81c180e commit 9500d38

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/regulator/tps51632-regulator.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@ static const struct regmap_config tps51632_regmap_config = {
199199
.readable_reg = is_read_reg,
200200
.volatile_reg = is_volatile_reg,
201201
.max_register = TPS51632_MAX_REG - 1,
202-
.cache_type = REGCACHE_RBTREE,
202+
.cache_type = REGCACHE_MAPLE,
203203
};
204204

205205
#if defined(CONFIG_OF)

0 commit comments

Comments
 (0)