From: Chu Guangqing Date: Fri, 24 Oct 2025 07:38:20 +0000 (+0800) Subject: iio: adc: ade9000: convert to use maple tree register cache X-Git-Tag: v6.19-rc1~65^2~58^2~35 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e5191f62a67aada464ff2c4ab6d96a657b1486aa;p=thirdparty%2Fkernel%2Flinux.git 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 Signed-off-by: Jonathan Cameron --- diff --git a/drivers/iio/adc/ade9000.c b/drivers/iio/adc/ade9000.c index 94e05e11abd90..2de8a718d62af 100644 --- a/drivers/iio/adc/ade9000.c +++ b/drivers/iio/adc/ade9000.c @@ -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,