]> 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)
commit26c8b9d7f775cc9f55e48188262f7f4fd2a6a187
tree0d081552464d3d5c54abbb769606296ca3b28b15
parent2f0e3b389047f5ddfcf9d6309364d14211a80700
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