From ba01b058a52abcb0539d94ae976ef1c357e06730 Mon Sep 17 00:00:00 2001 From: Colin Ian King Date: Fri, 18 May 2018 10:31:17 +0100 Subject: [PATCH] powerpc/rtas: Fix spelling mistake "Discharching" -> "Discharging" Trivial fix to spelling mistake in battery_charging array. Signed-off-by: Colin Ian King Signed-off-by: Michael Ellerman --- arch/powerpc/kernel/rtas-proc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/powerpc/kernel/rtas-proc.c b/arch/powerpc/kernel/rtas-proc.c index fb070d8..11ef978 100644 --- a/arch/powerpc/kernel/rtas-proc.c +++ b/arch/powerpc/kernel/rtas-proc.c @@ -528,7 +528,7 @@ static void ppc_rtas_process_sensor(struct seq_file *m, "EPOW power off" }; const char * battery_cyclestate[] = { "None", "In progress", "Requested" }; - const char * battery_charging[] = { "Charging", "Discharching", + const char * battery_charging[] = { "Charging", "Discharging", "No current flow" }; const char * ibm_drconnector[] = { "Empty", "Present", "Unusable", "Exchange" }; -- 2.7.4