Joe Perches c828a89203 treewide: Use DEVICE_ATTR_RO
Convert DEVICE_ATTR uses to DEVICE_ATTR_RO where possible.

Done with perl script:

$ git grep -w --name-only DEVICE_ATTR | \
  xargs perl -i -e 'local $/; while (<>) { s/\bDEVICE_ATTR\s*\(\s*(\w+)\s*,\s*\(?(?:\s*S_IRUGO\s*|\s*0444\s*)\)?\s*,\s*\1_show\s*,\s*NULL\s*\)/DEVICE_ATTR_RO(\1)/g; print;}'

Signed-off-by: Joe Perches <joe@perches.com>
Acked-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Acked-by: Robert Jarzmik <robert.jarzmik@free.fr>
Acked-by: Sagi Grimberg <sagi@grimberg.me>
Acked-by: Zhang Rui <rui.zhang@intel.com>
Acked-by: Harald Freudenberger <freude@linux.vnet.ibm.com>
Acked-by: Jani Nikula <jani.nikula@intel.com>
Acked-by: Corey Minyard <cminyard@mvista.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-01-09 16:34:34 +01:00
..
2017-11-13 01:36:58 +01:00
2017-11-15 10:56:56 -08:00
2017-11-16 09:15:57 -08:00
2017-11-09 00:55:16 +01:00
2017-11-13 20:08:22 -08:00
2017-08-24 03:38:25 +02:00
2017-11-15 13:46:33 -08:00
2018-01-09 16:34:34 +01:00
2017-11-30 13:37:29 +01:00
2016-10-10 02:20:43 +02:00
2017-05-09 15:15:47 -07:00
2017-11-30 13:37:29 +01:00
2017-11-16 09:15:57 -08:00
2017-11-16 09:15:57 -08:00
2017-11-30 13:37:29 +01:00
2017-11-15 13:46:33 -08:00