• Mark Brown's avatar
    net: dsa: ar9331: Use maple tree register cache · 88085b3b
    Mark Brown authored
    We now have a regmap cache which uses a maple tree to store the register
    state, this is a more modern data structure and the regmap level code
    using it makes a number of assumptions better tuned for modern hardware
    than those made by the rbtree cache type that the at9331 driver uses.
    Switch the ar9331 driver to use the more modern data structure.
    
    This should have minimal practical impact, it's mainly code
    modernisation.
    Signed-off-by: default avatarMark Brown <broonie@kernel.org>
    Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
    88085b3b
ar9331.c 31.8 KB