[PATCH v5 1/2] acpi: apei: Rename ghes_severity() to ghes_cper_severity()

2018-05-14 Thread Alexandru Gagniuc
ghes_severity() is a misnomer in this case, as it implies the severity of the entire GHES structure. Instead, it maps one CPER value to a GHES_SEV* value. ghes_cper_severity() is clearer. Signed-off-by: Alexandru Gagniuc --- drivers/acpi/apei/ghes.c | 17 -

[PATCH v5 1/2] acpi: apei: Rename ghes_severity() to ghes_cper_severity()

2018-05-14 Thread Alexandru Gagniuc
ghes_severity() is a misnomer in this case, as it implies the severity of the entire GHES structure. Instead, it maps one CPER value to a GHES_SEV* value. ghes_cper_severity() is clearer. Signed-off-by: Alexandru Gagniuc --- drivers/acpi/apei/ghes.c | 17 - 1 file changed, 8