mfd: stpmic1: Convert to use maple tree register cache
authorBo Liu <liubo03@inspur.com>
Tue, 6 Feb 2024 07:13:13 +0000 (02:13 -0500)
committerLee Jones <lee@kernel.org>
Fri, 23 Feb 2024 14:58:05 +0000 (14:58 +0000)
commit12edc9a8da2ec9b485d38b95663fb6df41a1ef55
treea5f87f3e06fdb502c40f988c5f644d0d842b27fa
parentcac3d77098d6c3b6badb1842eb1093a31843c9ca
mfd: stpmic1: 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>
Link: https://lore.kernel.org/r/20240206071314.8721-18-liubo03@inspur.com
Signed-off-by: Lee Jones <lee@kernel.org>
drivers/mfd/stpmic1.c