linux/drivers/s390
Joe Perches b6b996b6cd treewide: Use DEVICE_ATTR_RW
Convert DEVICE_ATTR uses to DEVICE_ATTR_RW 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*S_IWUSR|\s*S_IWUSR\s*\|\s*S_IRUGO\s*|\s*0644\s*)\)?\s*,\s*\1_show\s*,\s*\1_store\s*\)/DEVICE_ATTR_RW(\1)/g; print;}'

Signed-off-by: Joe Perches <joe@perches.com>
Acked-by: Felipe Balbi <felipe.balbi@linux.intel.com>
Acked-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Acked-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Acked-by: Zhang Rui <rui.zhang@intel.com>
Acked-by: Jarkko Nikula <jarkko.nikula@bitmer.com>
Acked-by: Jani Nikula <jani.nikula@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-01-09 16:33:31 +01:00
..
block s390: add a few more SPDX identifiers 2017-12-05 07:51:09 +01:00
char s390: add a few more SPDX identifiers 2017-12-05 07:51:09 +01:00
cio treewide: Use DEVICE_ATTR_RW 2018-01-09 16:33:31 +01:00
crypto s390: crypto: Remove redundant license text 2017-11-24 14:28:46 +01:00
net s390/qeth: fix error handling in checksum cmd callback 2017-12-20 15:11:49 -05:00
scsi s390: add a few more SPDX identifiers 2017-12-05 07:51:09 +01:00
virtio s390: drivers: Remove redundant license text 2017-11-24 14:28:47 +01:00
Makefile s390: add a few more SPDX identifiers 2017-12-05 07:51:09 +01:00