diff options
author | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-06-09 11:03:04 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-06-12 16:14:29 +0200 |
commit | c281032530e723c81c8a230fff215c5ea1792c13 (patch) | |
tree | 14a9fbe7f0e0180fc9c31886ac4a01f3c62ff4f4 /drivers/infiniband/hw/nes/nes.c | |
parent | 1b8b02f0d084a2d9a966d5ae004d49c8e76aa8cc (diff) | |
download | talos-obmc-linux-c281032530e723c81c8a230fff215c5ea1792c13.tar.gz talos-obmc-linux-c281032530e723c81c8a230fff215c5ea1792c13.zip |
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>
Diffstat (limited to 'drivers/infiniband/hw/nes/nes.c')
0 files changed, 0 insertions, 0 deletions