[PATCH] power: supply: cpcap-battery: fix typo in config name
From: Jaime Saguillo Revilla
Date: Thu Feb 19 2026 - 16:24:33 EST
Rename cpcap_battery_unkown_data to
cpcap_battery_unknown_data to correct a spelling mistake
in the identifier.
No functional change.
Signed-off-by: Jaime Saguillo Revilla <jaime.saguillo@xxxxxxxxx>
---
drivers/power/supply/cpcap-battery.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/power/supply/cpcap-battery.c b/drivers/power/supply/cpcap-battery.c
index 507fdc1c866d..f58269c75509 100644
--- a/drivers/power/supply/cpcap-battery.c
+++ b/drivers/power/supply/cpcap-battery.c
@@ -387,7 +387,7 @@ static const struct cpcap_battery_config cpcap_battery_bw8x_data = {
* Safe values for any lipo battery likely to fit into a mapphone
* battery bay.
*/
-static const struct cpcap_battery_config cpcap_battery_unkown_data = {
+static const struct cpcap_battery_config cpcap_battery_unknown_data = {
.cd_factor = 0x3cc,
.info.technology = POWER_SUPPLY_TECHNOLOGY_LION,
.info.voltage_max_design = 4200000,
@@ -429,7 +429,7 @@ static void cpcap_battery_detect_battery_type(struct cpcap_battery_ddata *ddata)
ddata->config = cpcap_battery_bw8x_data;
break;
default:
- ddata->config = cpcap_battery_unkown_data;
+ ddata->config = cpcap_battery_unknown_data;
}
}
--
2.34.1