[PATCH v7 2/3] acpi: apei: Rename ghes_severity() to ghes_cper_severity()

2018-05-25 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 one GHES_SEV* value. ghes_cper_severity() is clearer. Signed-off-by: Alexandru Gagniuc --- drivers/acpi/apei/ghes.c | 17

[PATCH v7 2/3] acpi: apei: Rename ghes_severity() to ghes_cper_severity()

2018-05-25 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 one GHES_SEV* value. ghes_cper_severity() is clearer. Signed-off-by: Alexandru Gagniuc --- drivers/acpi/apei/ghes.c | 17 - 1 file changed, 8