tty: serial: max310x: convert to use maple tree register cache
authorwangkaiyuan <wangkaiyuan@inspur.com>
Mon, 18 Mar 2024 06:40:36 +0000 (14:40 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 9 Apr 2024 14:50:36 +0000 (16:50 +0200)
commitc9615d34ce26199054e188f634eac2e45c9cc906
treedf55393fac7a8cc58f1df8c3c9a6f21237733c8d
parent0867a9805549632969fbb996c50ba8adb1bc38bf
tty: serial: max310x: 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: wangkaiyuan <wangkaiyuan@inspur.com>
Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Link: https://lore.kernel.org/r/20240318064036.1656-1-wangkaiyuan@inspur.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/max310x.c