mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-25 11:55:37 +00:00
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>
This commit is contained in:
parent
bad66884ac
commit
46d0825104
1 changed files with 1 additions and 1 deletions
|
@ -84,7 +84,7 @@ static const struct regmap_config regmap = {
|
|||
.rd_table = &rd_table,
|
||||
.volatile_table = &volatile_table,
|
||||
|
||||
.cache_type = REGCACHE_RBTREE,
|
||||
.cache_type = REGCACHE_MAPLE,
|
||||
.num_reg_defaults_raw = FXL6408_REG_INT_STS + 1,
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue