diff options
author | Jay Lu <jaylu102@amd.com> | 2022-12-06 14:52:33 -0600 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2022-12-07 18:16:12 +0100 |
commit | 87386ee83dc2b241eab69239f9cc82fa7fb4171c (patch) | |
tree | e23f643cd19762e956b3611a80c13cd2b4eec480 /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c | |
parent | 37ea9693869627df5b15cbd4d67237e17f806be4 (diff) |
ACPI: APEI: EINJ: Refactor available_error_type_show()
Move error type descriptions into an array and loop over error types
to improve readability and maintainability.
Replace seq_printf() with seq_puts() as recommended by checkpatch.pl.
Signed-off-by: Jay Lu <jaylu102@amd.com>
Co-developed-by: Ben Cheatham <benjamin.cheatham@amd.com>
Signed-off-by: Ben Cheatham <benjamin.cheatham@amd.com>
Reviewed-by: Tony Luck <tony.luck@intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions