diff options
| author | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-07-14 13:59:04 +0200 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-07-14 13:59:04 +0200 |
| commit | 5a7f345ba5e849229317f73497a17637c9a08e4a (patch) | |
| tree | 4d7661b70e4da95d2acfddce1ba76b7b3190cd3f /d12.patch | |
| parent | 1670862cd60c9110a93d8fdd186d4bfe51b185d1 (diff) | |
| download | patches-5a7f345ba5e849229317f73497a17637c9a08e4a.tar.gz | |
get a bunch of stuff finally upstream.
Diffstat (limited to 'd12.patch')
| -rw-r--r-- | d12.patch | 47 |
1 files changed, 0 insertions, 47 deletions
diff --git a/d12.patch b/d12.patch deleted file mode 100644 index 59a2a592a4c9ef..00000000000000 --- a/d12.patch +++ /dev/null @@ -1,47 +0,0 @@ -From foo@baz Thu Jun 8 15:32:05 CEST 2017 -Date: Thu, 08 Jun 2017 15:32:05 +0200 -To: Greg KH <gregkh@linuxfoundation.org> -From: Greg Kroah-Hartman <gregkh@linuxfoundation.org> -Subject: USB: usbip: convert to use DRIVER_ATTR_RW - -We are trying to get rid of DRIVER_ATTR(), and the usbip driver -attribute can be trivially changed to use DRIVER_ATTR_RW(). - -Cc: Valentina Manea <valentina.manea.m@gmail.com> -Cc: Shuah Khan <shuah@kernel.org> -Cc: <linux-usb@vger.kernel.org> -Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> ---- - drivers/usb/usbip/stub_main.c | 7 +++---- - 1 file changed, 3 insertions(+), 4 deletions(-) - ---- a/drivers/usb/usbip/stub_main.c -+++ b/drivers/usb/usbip/stub_main.c -@@ -134,7 +134,7 @@ out: - return ret; - } - --static ssize_t show_match_busid(struct device_driver *drv, char *buf) -+static ssize_t match_busid_show(struct device_driver *drv, char *buf) - { - int i; - char *out = buf; -@@ -149,7 +149,7 @@ static ssize_t show_match_busid(struct d - return out - buf; - } - --static ssize_t store_match_busid(struct device_driver *dev, const char *buf, -+static ssize_t match_busid_store(struct device_driver *dev, const char *buf, - size_t count) - { - int len; -@@ -181,8 +181,7 @@ static ssize_t store_match_busid(struct - - return -EINVAL; - } --static DRIVER_ATTR(match_busid, S_IRUSR | S_IWUSR, show_match_busid, -- store_match_busid); -+static DRIVER_ATTR_RW(match_busid); - - static ssize_t rebind_store(struct device_driver *dev, const char *buf, - size_t count) |
