diff options
| author | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-11-17 15:25:25 +0100 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-11-17 15:25:25 +0100 |
| commit | 466ad0dd09adc07997fef1af16d41bc8c60b6d63 (patch) | |
| tree | 5fc48c6fe991186ef1132fe71fe47fb59483794d /d01.patch | |
| parent | a331cebc0a1411faba1acf369a8c97255da7e11c (diff) | |
| download | patches-466ad0dd09adc07997fef1af16d41bc8c60b6d63.tar.gz | |
sync with 4.14-final
Diffstat (limited to 'd01.patch')
| -rw-r--r-- | d01.patch | 46 |
1 files changed, 0 insertions, 46 deletions
diff --git a/d01.patch b/d01.patch deleted file mode 100644 index afdf3aa96574ce..00000000000000 --- a/d01.patch +++ /dev/null @@ -1,46 +0,0 @@ -From foo@baz Thu Sep 14 23:35:39 PDT 2017 -Date: Thu, 14 Sep 2017 23:35:39 -0700 -To: Greg KH <gregkh@linuxfoundation.org> -From: Greg Kroah-Hartman <gregkh@linuxfoundation.org> -Subject: fpga: altera-cvp: remove DRIVER_ATTR() usage - -It's better to be explicit and use the DRIVER_ATTR_RW() macro when -defining a driver's sysfs file. - -This is part of a series to drop DRIVER_ATTR() from the tree entirely. - -Cc: Alan Tull <atull@kernel.org> -Cc: Moritz Fischer <mdf@kernel.org> -Cc: linux-fpga@vger.kernel.org -Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> - ---- - drivers/fpga/altera-cvp.c | 6 +++--- - 1 file changed, 3 insertions(+), 3 deletions(-) - ---- a/drivers/fpga/altera-cvp.c -+++ b/drivers/fpga/altera-cvp.c -@@ -361,12 +361,12 @@ static const struct fpga_manager_ops alt - .write_complete = altera_cvp_write_complete, - }; - --static ssize_t show_chkcfg(struct device_driver *dev, char *buf) -+static ssize_t chkcfg_show(struct device_driver *dev, char *buf) - { - return snprintf(buf, 3, "%d\n", altera_cvp_chkcfg); - } - --static ssize_t store_chkcfg(struct device_driver *drv, const char *buf, -+static ssize_t chkcfg_store(struct device_driver *drv, const char *buf, - size_t count) - { - int ret; -@@ -378,7 +378,7 @@ static ssize_t store_chkcfg(struct devic - return count; - } - --static DRIVER_ATTR(chkcfg, 0600, show_chkcfg, store_chkcfg); -+static DRIVER_ATTR(chkcfg); - - static int altera_cvp_probe(struct pci_dev *pdev, - const struct pci_device_id *dev_id); |
