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

gpio: fx6408: 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: Mark Brown <broonie@kernel.org>
Reviewed-by: Andy Shevchenko <andy@kernel.org>
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>

authored by

Mark Brown and committed by
Bartosz Golaszewski
46d08251 bad66884

+1 -1
+1 -1
drivers/gpio/gpio-fxl6408.c
··· 84 84 .rd_table = &rd_table, 85 85 .volatile_table = &volatile_table, 86 86 87 - .cache_type = REGCACHE_RBTREE, 87 + .cache_type = REGCACHE_MAPLE, 88 88 .num_reg_defaults_raw = FXL6408_REG_INT_STS + 1, 89 89 }; 90 90