Re: [PATCH 0/4] iio: accel: convert to use maple tree register cache

From: Jonathan Cameron
Date: Sun Feb 16 2025 - 11:38:54 EST


On Wed, 12 Feb 2025 02:52:19 -0500
Bo Liu <liubo03@xxxxxxxxxx> wrote:

> 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.
>
> Bo Liu (4):
> iio: accel: msa311: convert to use maple tree register cache
> iio: accel: bma400: convert to use maple tree register cache
> iio: accel: bmi088: convert to use maple tree register cache
> iio: accel: kx022a: convert to use maple tree register cache
>
> drivers/iio/accel/bma400_core.c | 2 +-
> drivers/iio/accel/bmi088-accel-core.c | 2 +-
> drivers/iio/accel/kionix-kx022a.c | 4 ++--
> drivers/iio/accel/msa311.c | 2 +-
> 4 files changed, 5 insertions(+), 5 deletions(-)
>
These are all fairly small register maps so I doubt it makes much
real difference. Still there is the possibility these get copied
into a driver with a much larger regmap, so fair enough to tidy these
up. Applied to the togreg branch of iio.git and pushed out as testing
for 0-day to take a first look.

Thanks,

Jonathan