mfd: lochnagar-i2c: Convert to use maple tree register cache
authorBo Liu <liubo03@inspur.com>
Tue, 6 Feb 2024 07:13:05 +0000 (02:13 -0500)
committerLee Jones <lee@kernel.org>
Fri, 23 Feb 2024 14:58:04 +0000 (14:58 +0000)
commitbaaa1b8e7d84d9b5399d8e75f6c9241465869c0e
tree0095ffc3eb6f41644d75c2646bc6c6c9f14ba1b4
parent14100f8e58564d3fc7c1503a6b3906023c2dac3c
mfd: lochnagar-i2c: 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>
Tested-by: Charles Keepax <ckeepax@opensource.cirrus.com>
Reviewed-by: Charles Keepax <ckeepax@opensource.cirrus.com>
Link: https://lore.kernel.org/r/20240206071314.8721-10-liubo03@inspur.com
Signed-off-by: Lee Jones <lee@kernel.org>
drivers/mfd/lochnagar-i2c.c