[PATCH] powerpc: fix spelling mistake: "Discharching" -> "Discharging"

Colin King colin.king at canonical.com
Fri May 18 19:31:17 AEST 2018


From: Colin Ian King <colin.king at canonical.com>

Trivial fix to spelling mistake in battery_charging array

Signed-off-by: Colin Ian King <colin.king at canonical.com>
---
 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



More information about the Linuxppc-dev mailing list