commit | 754cec96e6c5ef18b58161c93aef6b3e39bc5808 | [log] [tgz] |
---|---|---|
author | Pali Rohár <pali@kernel.org> | Thu Sep 23 12:33:42 2021 +0200 |
committer | Pali Rohár <pali@kernel.org> | Fri Sep 24 15:27:37 2021 +0200 |
tree | 8b1aac84c4b7d5888c540780dbf85d1cc21f5b36 | |
parent | 352322f178a7d2673d5ee751e7732bc2162d8f34 [diff] |
refactor(drivers/marvell/comphy-3700): simplify usage of sata power off Function mvebu_a3700_comphy_sata_power_off() uses comphy_mode parameter only for extracting mode bits. Mode is always COMPHY_SATA_MODE, so there is no need to pass comphy_mode parameter to this function. Use directly COMPHY_SATA_MODE in mvebu_a3700_comphy_sata_power_off(). Signed-off-by: Pali Rohár <pali@kernel.org> Change-Id: Ib6b7c2bf62c1ef4d8a6af240c08696d5cd506b14