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

Input: cap11xx - 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>
Link: https://lore.kernel.org/r/20231001-input-maple-v1-2-ed3716051431@kernel.org
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>

authored by

Mark Brown and committed by
Dmitry Torokhov
718963d9 39bd68d4

+1 -1
+1 -1
drivers/input/keyboard/cap11xx.c
··· 187 187 .reg_defaults = cap11xx_reg_defaults, 188 188 189 189 .num_reg_defaults = ARRAY_SIZE(cap11xx_reg_defaults), 190 - .cache_type = REGCACHE_RBTREE, 190 + .cache_type = REGCACHE_MAPLE, 191 191 .volatile_reg = cap11xx_volatile_reg, 192 192 }; 193 193