]> 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)
committerJakub Kicinski <kuba@kernel.org>
Fri, 22 Apr 2022 22:17:53 +0000 (15:17 -0700)
commit1f205816fc56f07ca32086f9183a298b50b2e68e
tree7cdf1845bab8a5d8e383342ee5fe8d66be59e61d
parent74ddbd88aeef0416b6116f632e40007aa6c0514d
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>
Link: https://lore.kernel.org/r/20220418233558.13541-2-luizluca@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/dsa/realtek/realtek-mdio.c
drivers/net/dsa/realtek/realtek-smi.c