[PATCH] powerpc: fix spelling mistake: "Discharching" -> "Discharging"
From: Colin King
Date: Fri May 18 2018 - 04:35:19 EST
From: Colin Ian King <colin.king@xxxxxxxxxxxxx>
Trivial fix to spelling mistake in battery_charging array
Signed-off-by: Colin Ian King <colin.king@xxxxxxxxxxxxx>
---
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 d49063d0baa4..ed0ed0c9b7b3 100644
--- a/arch/powerpc/kernel/rtas-proc.c
+++ b/arch/powerpc/kernel/rtas-proc.c
@@ -504,7 +504,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.17.0