WSL2-Linux-Kernel/drivers/s390/crypto
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
..
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
ap_asm.h Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/s390/linux 2017-11-13 11:47:01 -08:00
ap_bus.c s390: crypto: Remove redundant license text 2017-11-24 14:28:46 +01:00
ap_bus.h s390: crypto: Remove redundant license text 2017-11-24 14:28:46 +01:00
ap_card.c treewide: Use DEVICE_ATTR_RO 2018-01-09 16:34:34 +01:00
ap_debug.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
ap_queue.c s390/ap_bus: Convert timers to use timer_setup() 2017-11-14 11:01:41 +01:00
pkey_api.c s390: crypto: Remove redundant license text 2017-11-24 14:28:46 +01:00
zcrypt_api.c s390: crypto: Remove redundant license text 2017-11-24 14:28:46 +01:00
zcrypt_api.h s390: crypto: Remove redundant license text 2017-11-24 14:28:46 +01:00
zcrypt_card.c s390: crypto: Remove redundant license text 2017-11-24 14:28:46 +01:00
zcrypt_cca_key.h s390: crypto: Remove redundant license text 2017-11-24 14:28:46 +01:00
zcrypt_cex2a.c s390: crypto: Remove redundant license text 2017-11-24 14:28:46 +01:00
zcrypt_cex2a.h s390: crypto: Remove redundant license text 2017-11-24 14:28:46 +01:00
zcrypt_cex4.c s390: crypto: add SPDX identifiers to the remaining files 2017-11-24 14:28:39 +01:00
zcrypt_cex4.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
zcrypt_debug.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
zcrypt_error.h s390: crypto: Remove redundant license text 2017-11-24 14:28:46 +01:00
zcrypt_msgtype6.c s390: crypto: Remove redundant license text 2017-11-24 14:28:46 +01:00
zcrypt_msgtype6.h s390: crypto: Remove redundant license text 2017-11-24 14:28:46 +01:00
zcrypt_msgtype50.c s390: crypto: Remove redundant license text 2017-11-24 14:28:46 +01:00
zcrypt_msgtype50.h s390: crypto: Remove redundant license text 2017-11-24 14:28:46 +01:00
zcrypt_pcixcc.c s390: crypto: Remove redundant license text 2017-11-24 14:28:46 +01:00
zcrypt_pcixcc.h s390: crypto: Remove redundant license text 2017-11-24 14:28:46 +01:00
zcrypt_queue.c s390: crypto: Remove redundant license text 2017-11-24 14:28:46 +01:00