Skip to content
Commit 87386ee8 authored by Jay Lu's avatar Jay Lu Committed by Rafael J. Wysocki
Browse files

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: default avatarJay Lu <jaylu102@amd.com>
Co-developed-by: default avatarBen Cheatham <benjamin.cheatham@amd.com>
Signed-off-by: default avatarBen Cheatham <benjamin.cheatham@amd.com>
Reviewed-by: default avatarTony Luck <tony.luck@intel.com>
Signed-off-by: default avatarRafael J. Wysocki <rafael.j.wysocki@intel.com>
parent 37ea9693
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment