mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-21 00:29:10 +07:00
c828a89203
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> |
||
---|---|---|
.. | ||
bt-bmc.c | ||
ipmi_bt_sm.c | ||
ipmi_devintf.c | ||
ipmi_dmi.c | ||
ipmi_dmi.h | ||
ipmi_kcs_sm.c | ||
ipmi_msghandler.c | ||
ipmi_powernv.c | ||
ipmi_poweroff.c | ||
ipmi_si_hardcode.c | ||
ipmi_si_hotmod.c | ||
ipmi_si_intf.c | ||
ipmi_si_mem_io.c | ||
ipmi_si_parisc.c | ||
ipmi_si_pci.c | ||
ipmi_si_platform.c | ||
ipmi_si_port_io.c | ||
ipmi_si_sm.h | ||
ipmi_si.h | ||
ipmi_smic_sm.c | ||
ipmi_ssif.c | ||
ipmi_watchdog.c | ||
Kconfig | ||
Makefile |