]> git.baikalelectronics.ru Git - kernel.git/commit
net: dsa: realtek: remove realtek,rtl8367s string
authorLuiz Angelo Daros de Luca <luizluca@gmail.com>
Mon, 18 Apr 2022 23:35:58 +0000 (20:35 -0300)
committerDavid S. Miller <davem@davemloft.net>
Wed, 20 Apr 2022 10:02:28 +0000 (11:02 +0100)
commit780d6e0a53da78fc196e93fc6a7986ebffcf8b13
tree0d081552464d3d5c54abbb769606296ca3b28b15
parent00dce01c1aecc07533113781667852ca6bf4679a
net: dsa: realtek: remove realtek,rtl8367s string

There is no need to add new compatible strings for each new supported
chip version. The compatible string is used only to select the subdriver
(rtl8365mb.c or rtl8366rb.c). Once in the subdriver, it will detect the
chip model by itself, ignoring which compatible string was used.

Link: https://lore.kernel.org/netdev/20220414014055.m4wbmr7tdz6hsa3m@bang-olufsen.dk/
Signed-off-by: Luiz Angelo Daros de Luca <luizluca@gmail.com>
Reviewed-by: Alvin Šipraga <alsi@bang-olufsen.dk>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Acked-by: Arınç ÜNAL <arinc.unal@arinc9.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/dsa/realtek/realtek-mdio.c
drivers/net/dsa/realtek/realtek-smi.c