]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
net: dsa: mt7530: remove pad_setup function pointer
authorArınç ÜNAL <arinc.unal@arinc9.com>
Mon, 5 Feb 2024 22:08:06 +0000 (01:08 +0300)
committerJakub Kicinski <kuba@kernel.org>
Thu, 8 Feb 2024 02:53:53 +0000 (18:53 -0800)
commit8c2703f558379b89d079fe437659db9564977893
treed34d3c9902b28b6247c1113ab0590834bca7c4fb
parent4ea4c040ddc8ee43d2bfe00fad8aa9b730711520
net: dsa: mt7530: remove pad_setup function pointer

The pad_setup function pointer was introduced with 88bdef8be9f6 ("net: dsa:
mt7530: Extend device data ready for adding a new hardware"). It was being
used to set up the core clock and port 6 of the MT7530 switch, and pll of
the MT7531 switch.

All of these were moved to more appropriate locations, and it was never
used for the switch on the MT7988 SoC. Therefore, this function pointer
hasn't got a use anymore. Remove it.

Acked-by: Daniel Golle <daniel@makrotopia.org>
Reviewed-by: Vladimir Oltean <olteanv@gmail.com>
Reviewed-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
Signed-off-by: Arınç ÜNAL <arinc.unal@arinc9.com>
Link: https://lore.kernel.org/r/20240206-for-netnext-mt7530-improvements-2-v5-5-d7d92a185cb1@arinc9.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/dsa/mt7530.c
drivers/net/dsa/mt7530.h