aboutsummaryrefslogtreecommitdiffstats
path: root/d14.patch
diff options
Diffstat (limited to 'd14.patch')
-rw-r--r--d14.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/d14.patch b/d14.patch
index 27abe3120c4a99..6a0e6486f4797a 100644
--- a/d14.patch
+++ b/d14.patch
@@ -1,3 +1,19 @@
+From foo@baz Wed Jul 19 14:32:31 CEST 2017
+Date: Wed, 19 Jul 2017 14:32:31 +0200
+To: Greg KH <gregkh@linuxfoundation.org>
+From: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
+Subject: DMA: ppc4xx: remove DRIVER_ATTR() usage
+
+It's better to be explicit and use the DRIVER_ATTR_RW() and
+DRIVER_ATTR_RO() macros when defining a driver's sysfs file.
+
+Bonus is this fixes up a checkpatch.pl warning.
+
+This is part of a series to drop DRIVER_ATTR() from the tree entirely.
+
+Cc: Vinod Koul <vinod.koul@intel.com>
+Cc: Dan Williams <dan.j.williams@intel.com>
+Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
---
drivers/dma/ppc4xx/adma.c | 23 ++++++++++-------------
1 file changed, 10 insertions(+), 13 deletions(-)