diff options
author | Michael Walle <michael@walle.cc> | 2022-04-27 23:44:05 +0200 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2022-04-29 16:37:53 -0700 |
commit | 31d00ca4ce0e1abf5342854606bbe7d20e38c3f8 (patch) | |
tree | 652c8e17645bbfe0e7dfdb77059c60d4b00c7b8f /drivers/net/phy/vitesse.c | |
parent | dt-bindings: net: micrel: add coma-mode-gpios property (diff) | |
download | linux-dev-31d00ca4ce0e1abf5342854606bbe7d20e38c3f8.tar.xz linux-dev-31d00ca4ce0e1abf5342854606bbe7d20e38c3f8.zip |
net: phy: micrel: move the PHY timestamping check
Both lan8814_ptp_init() and lan8814_ptp_probe_once() are only used if
PTP and PHY timestamping is enabed. Up until now the probe function just
returns early, if they are not needed. But we need the
phy_package_init_once() functionality for the coma mode GPIO setup. Move
the check into the functions itself.
Signed-off-by: Michael Walle <michael@walle.cc>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'drivers/net/phy/vitesse.c')
0 files changed, 0 insertions, 0 deletions