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 /d07.patch | |
| parent | 1670862cd60c9110a93d8fdd186d4bfe51b185d1 (diff) | |
| download | patches-5a7f345ba5e849229317f73497a17637c9a08e4a.tar.gz | |
get a bunch of stuff finally upstream.
Diffstat (limited to 'd07.patch')
| -rw-r--r-- | d07.patch | 36 |
1 files changed, 0 insertions, 36 deletions
diff --git a/d07.patch b/d07.patch deleted file mode 100644 index 2e8b3d0acef337..00000000000000 --- a/d07.patch +++ /dev/null @@ -1,36 +0,0 @@ -From foo@baz Thu Jun 8 15:03:19 CEST 2017 -Date: Thu, 08 Jun 2017 15:03:19 +0200 -To: Greg KH <gregkh@linuxfoundation.org> -From: Greg Kroah-Hartman <gregkh@linuxfoundation.org> -Subject: net: ehea: convert to use DRIVER_ATTR_RO - -We are trying to get rid of DRIVER_ATTR(), and the ehea driver's -attribute can be trivially changed to use DRIVER_ATTR_RO(). - -Cc: Douglas Miller <dougmill@linux.vnet.ibm.com> -Cc: <netdev@vger.kernel.org> -Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> - ---- - drivers/net/ethernet/ibm/ehea/ehea_main.c | 6 ++---- - 1 file changed, 2 insertions(+), 4 deletions(-) - ---- a/drivers/net/ethernet/ibm/ehea/ehea_main.c -+++ b/drivers/net/ethernet/ibm/ehea/ehea_main.c -@@ -3553,14 +3553,12 @@ static int check_module_parm(void) - return ret; - } - --static ssize_t ehea_show_capabilities(struct device_driver *drv, -- char *buf) -+static ssize_t capabilities_show(struct device_driver *drv, char *buf) - { - return sprintf(buf, "%d", EHEA_CAPABILITIES); - } - --static DRIVER_ATTR(capabilities, S_IRUSR | S_IRGRP | S_IROTH, -- ehea_show_capabilities, NULL); -+static DRIVER_ATTR_RO(capabilities); - - static int __init ehea_module_init(void) - { |
