mirror of
https://github.com/torvalds/linux.git
synced 2026-06-03 03:53:37 +02:00
pinctrl: sx150x: Use maple tree register cache
The sx150x driver uses a rbtree register cache with no obvious reason for specifically preferring it. The maple tree register cache is based on a more modern data structure and makes implementation decisions more suitable for modern systems so let's switch the driver to use that. No functional change. Signed-off-by: Mark Brown <broonie@kernel.org> Link: https://lore.kernel.org/20240924-pinctl-sx150x-maple-v1-1-17dcfefefd17@kernel.org Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
This commit is contained in:
parent
af8e481228
commit
d1c7bf9cb3
|
|
@ -1105,7 +1105,7 @@ static const struct regmap_config sx150x_regmap_config = {
|
|||
.reg_bits = 8,
|
||||
.val_bits = 32,
|
||||
|
||||
.cache_type = REGCACHE_RBTREE,
|
||||
.cache_type = REGCACHE_MAPLE,
|
||||
|
||||
.reg_read = sx150x_regmap_reg_read,
|
||||
.reg_write = sx150x_regmap_reg_write,
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user