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

regulator: pf9453: 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://patch.msgid.link/20250424010855.2662-1-liubo03@inspur.com
Signed-off-by: Mark Brown <broonie@kernel.org>

authored by

Bo Liu and committed by
Mark Brown
5410aa3a 382d4ee4

+1 -1
+1 -1
drivers/regulator/pf9453-regulator.c
··· 214 214 .val_bits = 8, 215 215 .volatile_table = &pf9453_volatile_regs, 216 216 .max_register = PF9453_MAX_REG - 1, 217 - .cache_type = REGCACHE_RBTREE, 217 + .cache_type = REGCACHE_MAPLE, 218 218 }; 219 219 220 220 /*