diff options
| author | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-10-06 23:58:52 -0700 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-10-06 23:58:52 -0700 |
| commit | f6e6720a59d48941664b57b5365cda8a8d4a3dc0 (patch) | |
| tree | 4cb4ea8ed495f917455a2c84419c04161ffc799b /p02.patch | |
| parent | e58cf96361457406a7de379e6c991adae9ea169b (diff) | |
| download | patches-f6e6720a59d48941664b57b5365cda8a8d4a3dc0.tar.gz | |
rename patches that have been sent off.
Diffstat (limited to 'p02.patch')
| -rw-r--r-- | p02.patch | 46 |
1 files changed, 0 insertions, 46 deletions
diff --git a/p02.patch b/p02.patch deleted file mode 100644 index 956056b882fb58..00000000000000 --- a/p02.patch +++ /dev/null @@ -1,46 +0,0 @@ -From foo@baz Sun Oct 6 13:31:27 PDT 2013 -Date: Sun, 06 Oct 2013 13:31:27 -0700 -To: Greg KH <gregkh@linuxfoundation.org> -From: Greg Kroah-Hartman <gregkh@linuxfoundation.org> -Subject: mdio_bus: convert bus code to use dev_groups - -The dev_attrs field of struct bus_type is going away soon, dev_groups -should be used instead. This converts the MDIO bus code to use the -correct field. - -Cc: David S. Miller <davem@davemloft.net> -Cc: Mark Brown <broonie@opensource.wolfsonmicro.com> -Cc: Nick Bowler <nbowler@elliptictech.com> -Cc: <netdev@vger.kernel.org> -Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> - ---- - drivers/net/phy/mdio_bus.c | 10 ++++++---- - 1 file changed, 6 insertions(+), 4 deletions(-) - ---- a/drivers/net/phy/mdio_bus.c -+++ b/drivers/net/phy/mdio_bus.c -@@ -438,17 +438,19 @@ phy_id_show(struct device *dev, struct d - - return sprintf(buf, "0x%.8lx\n", (unsigned long)phydev->phy_id); - } -+static DEVICE_ATTR_RO(phy_id); - --static struct device_attribute mdio_dev_attrs[] = { -- __ATTR_RO(phy_id), -- __ATTR_NULL -+static struct attribute *mdio_dev_attrs[] = { -+ &dev_attr_phy_id.attr, -+ NULL, - }; -+ATTRIBUTE_GROUPS(mdio_dev); - - struct bus_type mdio_bus_type = { - .name = "mdio_bus", - .match = mdio_bus_match, - .pm = MDIO_BUS_PM_OPS, -- .dev_attrs = mdio_dev_attrs, -+ .dev_groups = mdio_dev_groups, - }; - EXPORT_SYMBOL(mdio_bus_type); - |
