mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-11 04:18:39 +08: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
@ -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 New Issue
Block a user