linux_dsm_epyc7002/drivers/char/ipmi
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
..
bt-bmc.c treewide: setup_timer() -> timer_setup() 2017-11-21 15:57:07 -08:00
ipmi_bt_sm.c ipmi: Make some data const that was only read 2015-09-03 15:02:27 -05:00
ipmi_devintf.c ipmi: get rid of field-by-field __get_user() 2017-06-26 17:02:54 -04:00
ipmi_dmi.c IPMI updates for 4.15 2017-11-15 15:12:28 -08:00
ipmi_dmi.h IPMI updates for 4.15 2017-11-15 15:12:28 -08:00
ipmi_kcs_sm.c ipmi: Make some data const that was only read 2015-09-03 15:02:27 -05:00
ipmi_msghandler.c treewide: Use DEVICE_ATTR_RO 2018-01-09 16:34:34 +01:00
ipmi_powernv.c ipmi: Remove the device id from ipmi_register_smi() 2017-09-27 16:03:45 -05:00
ipmi_poweroff.c Merge branch 'modules-next' of git://git.kernel.org/pub/scm/linux/kernel/git/jeyu/linux into for-next 2017-11-02 11:19:15 -05:00
ipmi_si_hardcode.c ipmi_si: Move hardcode handling to a separate file. 2017-09-27 16:03:45 -05:00
ipmi_si_hotmod.c Merge branch 'modules-next' of git://git.kernel.org/pub/scm/linux/kernel/git/jeyu/linux into for-next 2017-11-02 11:19:15 -05:00
ipmi_si_intf.c The big changes for IPMI that just went in had a few problems. These 2017-12-11 17:01:59 -08:00
ipmi_si_mem_io.c ipmi_si: Move port and mem I/O handling to their own files 2017-09-28 12:26:00 -05:00
ipmi_si_parisc.c ipmi_si: fix crash on parisc 2017-12-11 07:43:26 -06:00
ipmi_si_pci.c ipmi_si: Fix oops with PCI devices 2017-12-11 07:42:50 -06:00
ipmi_si_platform.c ipmi: Make the DMI probe into a generic platform probe 2017-09-28 12:26:03 -05:00
ipmi_si_port_io.c ipmi_si: Move port and mem I/O handling to their own files 2017-09-28 12:26:00 -05:00
ipmi_si_sm.h ipmi: Make the DMI probe into a generic platform probe 2017-09-28 12:26:03 -05:00
ipmi_si.h ipmi_si: Move port and mem I/O handling to their own files 2017-09-28 12:26:00 -05:00
ipmi_smic_sm.c ipmi: Make some data const that was only read 2015-09-03 15:02:27 -05:00
ipmi_ssif.c treewide: setup_timer() -> timer_setup() 2017-11-21 15:57:07 -08:00
ipmi_watchdog.c ipmi: Get the device id through a function 2017-09-27 16:03:45 -05:00
Kconfig ipmi: Make the IPMI proc interface configurable 2017-09-28 12:26:03 -05:00
Makefile IPMI updates for 4.15 2017-11-15 15:12:28 -08:00