From: Heiner Kallweit <hkallweit1@gmail.com> To: Andrew Lunn <andrew@lunn.ch>, Florian Fainelli <f.fainelli@gmail.com>, David Miller <davem@davemloft.net>, Kevin Hilman <khilman@baylibre.com>, Vivien Didelot <vivien.didelot@gmail.com> Cc: "netdev@vger.kernel.org" <netdev@vger.kernel.org>, "open list:ARM/Amlogic Meson..." <linux-amlogic@lists.infradead.org> Subject: [PATCH net-next 0/3] net: phy: remove genphy_config_init Date: Thu, 15 Aug 2019 14:01:43 +0200 [thread overview] Message-ID: <95dfdb55-415c-c995-cba3-1902bdd46aec@gmail.com> (raw) Supported PHY features are either auto-detected or explicitly set. In both cases calling genphy_config_init isn't needed. All that genphy_config_init does is removing features that are set as supported but can't be auto-detected. Basically it duplicates the code in genphy_read_abilities. Therefore remove genphy_config_init. Heiner Kallweit (3): net: phy: remove calls to genphy_config_init net: dsa: remove calls to genphy_config_init net: phy: remove genphy_config_init drivers/net/phy/at803x.c | 4 --- drivers/net/phy/dp83822.c | 5 ---- drivers/net/phy/dp83848.c | 16 +++++------ drivers/net/phy/dp83tc811.c | 4 --- drivers/net/phy/meson-gxl.c | 2 +- drivers/net/phy/microchip.c | 1 - drivers/net/phy/microchip_t1.c | 1 - drivers/net/phy/mscc.c | 4 +-- drivers/net/phy/phy_device.c | 51 ---------------------------------- drivers/net/phy/vitesse.c | 6 ++-- include/linux/phy.h | 1 - net/dsa/port.c | 5 ---- 12 files changed, 14 insertions(+), 86 deletions(-) -- 2.22.1
WARNING: multiple messages have this Message-ID (diff)
From: Heiner Kallweit <hkallweit1@gmail.com> To: Andrew Lunn <andrew@lunn.ch>, Florian Fainelli <f.fainelli@gmail.com>, David Miller <davem@davemloft.net>, Kevin Hilman <khilman@baylibre.com>, Vivien Didelot <vivien.didelot@gmail.com> Cc: "netdev@vger.kernel.org" <netdev@vger.kernel.org>, "open list:ARM/Amlogic Meson..." <linux-amlogic@lists.infradead.org> Subject: [PATCH net-next 0/3] net: phy: remove genphy_config_init Date: Thu, 15 Aug 2019 14:01:43 +0200 [thread overview] Message-ID: <95dfdb55-415c-c995-cba3-1902bdd46aec@gmail.com> (raw) Supported PHY features are either auto-detected or explicitly set. In both cases calling genphy_config_init isn't needed. All that genphy_config_init does is removing features that are set as supported but can't be auto-detected. Basically it duplicates the code in genphy_read_abilities. Therefore remove genphy_config_init. Heiner Kallweit (3): net: phy: remove calls to genphy_config_init net: dsa: remove calls to genphy_config_init net: phy: remove genphy_config_init drivers/net/phy/at803x.c | 4 --- drivers/net/phy/dp83822.c | 5 ---- drivers/net/phy/dp83848.c | 16 +++++------ drivers/net/phy/dp83tc811.c | 4 --- drivers/net/phy/meson-gxl.c | 2 +- drivers/net/phy/microchip.c | 1 - drivers/net/phy/microchip_t1.c | 1 - drivers/net/phy/mscc.c | 4 +-- drivers/net/phy/phy_device.c | 51 ---------------------------------- drivers/net/phy/vitesse.c | 6 ++-- include/linux/phy.h | 1 - net/dsa/port.c | 5 ---- 12 files changed, 14 insertions(+), 86 deletions(-) -- 2.22.1 _______________________________________________ linux-amlogic mailing list linux-amlogic@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-amlogic
next reply other threads:[~2019-08-15 12:01 UTC|newest] Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top 2019-08-15 12:01 Heiner Kallweit [this message] 2019-08-15 12:01 ` [PATCH net-next 0/3] net: phy: remove genphy_config_init Heiner Kallweit 2019-08-15 12:02 ` [PATCH net-next 1/3] net: phy: remove calls to genphy_config_init Heiner Kallweit 2019-08-15 12:02 ` Heiner Kallweit 2019-08-15 12:03 ` [PATCH net-next 2/3] net: dsa: " Heiner Kallweit 2019-08-15 12:03 ` Heiner Kallweit 2019-08-15 12:04 ` [PATCH net-next 3/3] net: phy: remove genphy_config_init Heiner Kallweit 2019-08-15 12:04 ` Heiner Kallweit 2019-08-16 18:57 ` [PATCH net-next 0/3] " David Miller 2019-08-16 18:57 ` David Miller 2019-08-16 20:02 ` Heiner Kallweit 2019-08-16 20:02 ` Heiner Kallweit
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=95dfdb55-415c-c995-cba3-1902bdd46aec@gmail.com \ --to=hkallweit1@gmail.com \ --cc=andrew@lunn.ch \ --cc=davem@davemloft.net \ --cc=f.fainelli@gmail.com \ --cc=khilman@baylibre.com \ --cc=linux-amlogic@lists.infradead.org \ --cc=netdev@vger.kernel.org \ --cc=vivien.didelot@gmail.com \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.