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

regulator: tps62360: 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-13-liubo03@inspur.com
Signed-off-by: Mark Brown <broonie@kernel.org>

authored by

Bo Liu and committed by
Mark Brown
fe258f54 9500d38e

+1 -1
+1 -1
drivers/regulator/tps62360-regulator.c
··· 275 275 .reg_bits = 8, 276 276 .val_bits = 8, 277 277 .max_register = REG_CHIPID, 278 - .cache_type = REGCACHE_RBTREE, 278 + .cache_type = REGCACHE_MAPLE, 279 279 }; 280 280 281 281 static struct tps62360_regulator_platform_data *