Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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 <liubo03@inspur.com>
Link: https://msgid.link/r/20240320085740.4604-12-liubo03@inspur.com
Signed-off-by: Mark Brown <broonie@kernel.org>

authored by

Bo Liu and committed by
Mark Brown
9500d38e 81c180e7

+1 -1
+1 -1
drivers/regulator/tps51632-regulator.c
··· 199 199 .readable_reg = is_read_reg, 200 200 .volatile_reg = is_volatile_reg, 201 201 .max_register = TPS51632_MAX_REG - 1, 202 - .cache_type = REGCACHE_RBTREE, 202 + .cache_type = REGCACHE_MAPLE, 203 203 }; 204 204 205 205 #if defined(CONFIG_OF)