hwmon: (ina3221) convert to use maple tree register cache
authorBo Liu <liubo03@inspur.com>
Fri, 2 Feb 2024 07:15:38 +0000 (02:15 -0500)
committerGuenter Roeck <linux@roeck-us.net>
Sun, 25 Feb 2024 20:37:36 +0000 (12:37 -0800)
commitba468d4b0b1e81067405c9f68986828ca8ede876
treec7ffb6bd57c9ed413bd36c7c4f007f160c94b90a
parent9c440cf0c68fa30dc3072b8f1755f2d91863d7d6
hwmon: (ina3221) 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/20240202071538.40877-1-liubo03@inspur.com
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/ina3221.c