[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <a4dc471c-5301-567d-1616-73f063730512@gmail.com>
Date: Wed, 3 Apr 2019 20:17:56 +0200
From: Heiner Kallweit <hkallweit1@...il.com>
To: Andrew Lunn <andrew@...n.ch>,
Florian Fainelli <f.fainelli@...il.com>,
David Miller <davem@...emloft.net>
Cc: "netdev@...r.kernel.org" <netdev@...r.kernel.org>
Subject: [PATCH net-next 0/2] net: phy: use generic PHY ability readers if
callback get_features isn't set
Meanwhile we have generic functions for reading the abilities of
Clause 22 / 45 PHY's. This allows to use them as fallback in case
callback get_features isn't set. Benefit is the reduction of
boilerplate code in PHY drivers.
Heiner Kallweit (2):
net: phy: allow a PHY driver to define neither features nor
get_features
net: phy: realtek: remove setting callback get_features and use phylib
fallback
drivers/net/phy/phy_device.c | 17 +++++++++++------
drivers/net/phy/realtek.c | 10 ----------
2 files changed, 11 insertions(+), 16 deletions(-)
--
2.21.0
Powered by blists - more mailing lists