aboutsummaryrefslogtreecommitdiffstats
path: root/d01.patch
diff options
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-06-08 16:16:08 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-06-08 16:16:08 +0200
commit1670862cd60c9110a93d8fdd186d4bfe51b185d1 (patch)
treed21ba0888cde520dfd57d7237a6f24847a9c1b36 /d01.patch
parentd23211444204e09eada13d0a53c8e4cbb28cac3e (diff)
downloadpatches-1670862cd60c9110a93d8fdd186d4bfe51b185d1.tar.gz
add some headers to some patches
Diffstat (limited to 'd01.patch')
-rw-r--r--d01.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/d01.patch b/d01.patch
index 875ce8da064aba..28c854b364b73f 100644
--- a/d01.patch
+++ b/d01.patch
@@ -1,3 +1,18 @@
+From foo@baz Thu Jun 8 15:02:37 CEST 2017
+Date: Thu, 08 Jun 2017 15:02:37 +0200
+To: Greg KH <gregkh@linuxfoundation.org>
+From: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
+Subject: HID: hid-core: convert to use DRIVER_ATTR_RO and drv_groups
+
+In the quest to get rid of DRIVER_ATTR(), this patch converts the
+hid-core code to use DRIVER_ATTR_RO() and also moves to use drv_groups
+as creating individual sysfs files is not good (it races with userspace
+notifications.)
+
+Cc: Jiri Kosina <jikos@kernel.org>
+Cc: Benjamin Tissoires <benjamin.tissoires@redhat.com>
+Cc: <linux-input@vger.kernel.org>
+Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
---
drivers/hid/hid-core.c | 24 ++++++++++--------------
1 file changed, 10 insertions(+), 14 deletions(-)