commit | 58e9925503690f7a2df1d33fa696b2fdf6d1b0b2 | [log] [tgz] |
---|---|---|
author | Pali Rohár <pali@kernel.org> | Thu Sep 23 15:08:00 2021 +0200 |
committer | Pali Rohár <pali@kernel.org> | Wed Sep 29 22:23:55 2021 +0200 |
tree | 616fa35c659bdec501219493297344c2e6cd2a0d | |
parent | 15b183ce3b9acbc3508369745560f131395e6771 [diff] |
refactor(drivers/marvell/comphy-3700): simplify usage of comphy_sgmii_phy_init() Parameter 'comphy_index' is not used and parameter 'mode' is used only to check if speed is 1 Gbps or not. Remove parameter 'comphy_index' and instead of 32-bit variable 'mode', pass only boolean value which represents 1 Gbps speed. Signed-off-by: Pali Rohár <pali@kernel.org> Change-Id: I018d158f689ddf7d1f57003717d709c00d988fba