This series contributes to cleaning up phylib by moving PHY package related code to its own source file. Heiner Kallweit (8): net: phy: move PHY package code from phy_device.c to own source file net: phy: move PHY package related code from phy.h to phy_package.c net: phy: add getters for public members in struct phy_package_shared net: phy: qca807x: use new phy_package_shared getters net: phy: micrel: use new phy_package_shared getters net: phy: mtk-ge-soc: use new phy_package_shared getters net: phy: mscc: use new phy_package_shared getters net: phy: make struct phy_package_shared private to phylib drivers/net/phy/Makefile | 3 +- drivers/net/phy/mediatek/mtk-ge-soc.c | 10 +- drivers/net/phy/micrel.c | 12 +- drivers/net/phy/mscc/mscc_ptp.c | 15 +- drivers/net/phy/phy_device.c | 237 ------------------ drivers/net/phy/phy_package.c | 348 ++++++++++++++++++++++++++ drivers/net/phy/qcom/qca807x.c | 20 +- include/linux/phy.h | 125 +-------- 8 files changed, 396 insertions(+), 374 deletions(-) create mode 100644 drivers/net/phy/phy_package.c -- 2.48.1