mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-12-27 11:06:41 -05:00
iio: adc: ade9000: 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: Chu Guangqing <chuguangqing@inspur.com> Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
This commit is contained in:
committed by
Jonathan Cameron
parent
49708f45be
commit
e5191f62a6
@@ -1629,7 +1629,7 @@ static const struct regmap_config ade9000_regmap_config = {
|
||||
.val_bits = 32,
|
||||
.max_register = 0x6bc,
|
||||
.zero_flag_mask = true,
|
||||
.cache_type = REGCACHE_RBTREE,
|
||||
.cache_type = REGCACHE_MAPLE,
|
||||
.reg_read = ade9000_spi_read_reg,
|
||||
.reg_write = ade9000_spi_write_reg,
|
||||
.volatile_reg = ade9000_is_volatile_reg,
|
||||
|
||||
Reference in New Issue
Block a user