aboutsummaryrefslogtreecommitdiffstats
path: root/d09.patch
diff options
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-07-14 13:59:04 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-07-14 13:59:04 +0200
commit5a7f345ba5e849229317f73497a17637c9a08e4a (patch)
tree4d7661b70e4da95d2acfddce1ba76b7b3190cd3f /d09.patch
parent1670862cd60c9110a93d8fdd186d4bfe51b185d1 (diff)
downloadpatches-5a7f345ba5e849229317f73497a17637c9a08e4a.tar.gz
get a bunch of stuff finally upstream.
Diffstat (limited to 'd09.patch')
-rw-r--r--d09.patch36
1 files changed, 0 insertions, 36 deletions
diff --git a/d09.patch b/d09.patch
deleted file mode 100644
index 48fdbff790e66e..00000000000000
--- a/d09.patch
+++ /dev/null
@@ -1,36 +0,0 @@
-From foo@baz Thu Jun 8 15:03:31 CEST 2017
-Date: Thu, 08 Jun 2017 15:03:31 +0200
-To: Greg KH <gregkh@linuxfoundation.org>
-From: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-Subject: pcmcia: ds: convert to use DRIVER_ATTR_RO
-
-We are trying to get rid of DRIVER_ATTR(), and the pcmcia driver's
-attribute can be trivially changed to use DRIVER_ATTR_RO().
-
-Cc: Russell King <rmk+kernel@armlinux.org.uk>
-Cc: <linux-pcmcia@lists.infradead.org>
-Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
----
- drivers/pcmcia/ds.c | 4 ++--
- 1 file changed, 2 insertions(+), 2 deletions(-)
-
---- a/drivers/pcmcia/ds.c
-+++ b/drivers/pcmcia/ds.c
-@@ -95,7 +95,7 @@ struct pcmcia_dynid {
- * and causes the driver to probe for all devices again.
- */
- static ssize_t
--pcmcia_store_new_id(struct device_driver *driver, const char *buf, size_t count)
-+new_id_store(struct device_driver *driver, const char *buf, size_t count)
- {
- struct pcmcia_dynid *dynid;
- struct pcmcia_driver *pdrv = to_pcmcia_drv(driver);
-@@ -133,7 +133,7 @@ pcmcia_store_new_id(struct device_driver
- return retval;
- return count;
- }
--static DRIVER_ATTR(new_id, S_IWUSR, NULL, pcmcia_store_new_id);
-+static DRIVER_ATTR_WO(new_id, S_IWUSR, NULL, pcmcia_store_new_id);
-
- static void
- pcmcia_free_dynids(struct pcmcia_driver *drv)