]> www.infradead.org Git - users/jedix/linux-maple.git/commit
iio: accel: kx022a: convert to use maple tree register cache
authorBo Liu <liubo03@inspur.com>
Wed, 12 Feb 2025 07:52:23 +0000 (02:52 -0500)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Sun, 16 Feb 2025 16:37:17 +0000 (16:37 +0000)
commit9d7d7bfb45c5d8cc6cc158061e9e078889ead848
treed7559b04ff8e383dfc23694ae8aae1b1491346f2
parent7ed9db68c37590e9740d05332d8b73b9bc3e98e5
iio: accel: kx022a: 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: Bo Liu <liubo03@inspur.com>
Acked-by: Matti Vaittinen <mazziesaccount@gmail.com>
Link: https://patch.msgid.link/20250212075223.4164-5-liubo03@inspur.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/accel/kionix-kx022a.c