]> git.baikalelectronics.ru Git - kernel.git/commit
input: serio: use DEVICE_ATTR_RO()
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 8 Oct 2013 01:08:23 +0000 (18:08 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 20 Oct 2013 03:02:44 +0000 (20:02 -0700)
commitc1db4da0702efcf299b53a0fb4bb10a35416bc7a
tree1b14baff80dad1825e042a45c07f04c10f81eb57
parentb00ce0d5bf9c378dcbe30ad5794eab111fe5f25a
input: serio: use DEVICE_ATTR_RO()

Convert the serio sysfs fiels to use the DEVICE_ATTR_RO() macros to make
it easier to audit the correct sysfs file permission usage.

Cc: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Cc: <linux-input@vger.kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/input/serio/serio.c