gpio: pca953x: Convert to use maple tree register cache
authorMark Brown <broonie@kernel.org>
Fri, 29 Sep 2023 12:24:13 +0000 (14:24 +0200)
committerBartosz Golaszewski <bartosz.golaszewski@linaro.org>
Mon, 2 Oct 2023 06:57:48 +0000 (08:57 +0200)
commitbad66884acb55e2419b8fdc56ae902d3bfc0c2e3
treec6d8bd5faa261c72ecd85e1d50464387eb40a9d9
parent7d099290486bd0a86d5e5ccf8e19dbdef95e5400
gpio: pca953x: 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>
drivers/gpio/gpio-pca953x.c