commit | c281032530e723c81c8a230fff215c5ea1792c13 | [log] [tgz] |
---|---|---|
author | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Fri Jun 09 11:03:04 2017 +0200 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Mon Jun 12 16:14:29 2017 +0200 |
tree | 14a9fbe7f0e0180fc9c31886ac4a01f3c62ff4f4 | |
parent | 1b8b02f0d084a2d9a966d5ae004d49c8e76aa8cc [diff] |
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>