diff options
author | Dwaipayan Ray <dwaipayanray1@gmail.com> | 2021-07-13 12:21:30 +0530 |
---|---|---|
committer | Tony Luck <tony.luck@intel.com> | 2021-07-13 09:59:57 -0700 |
commit | d19faf0e49eb6fe90e218b9ccfdabd61dc968b41 (patch) | |
tree | d82bf3379ffa768431f4d7d11445fd7d5215788c /lib/mpi/mpi-sub-ui.c | |
parent | e73f0f0ee7541171d89f2e2491130c7771ba58d3 (diff) |
EDAC/amd64: Use DEVICE_ATTR helper macros
Instead of "open coding" DEVICE_ATTR, use the corresponding
helper macros DEVICE_ATTR_{RW,RO,WO} in amd64_edac.c
Some function names needed to be changed to match the device
conventions <foo>_show and <foo>_store, but the functionality
itself is unchanged.
The devices using EDAC_DCT_ATTR_SHOW() are left unchanged.
Reviewed-by: Yazen Ghannam <yazen.ghannam@amd.com>
Signed-off-by: Dwaipayan Ray <dwaipayanray1@gmail.com>
Signed-off-by: Tony Luck <tony.luck@intel.com>
Link: https://lore.kernel.org/r/20210713065130.2151-1-dwaipayanray1@gmail.com
Diffstat (limited to 'lib/mpi/mpi-sub-ui.c')
0 files changed, 0 insertions, 0 deletions