Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

power: supply: wm831x_power: fix spelling mistake on function name

There is a spelling mistake in the name wm831x_battey_apply_config,
fix it.

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Acked-by: Charles Keepax <ckeepax@opensource.cirrus.com>
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>

authored by

Colin Ian King and committed by
Sebastian Reichel
73d59c92 5ce39985

+6 -6
+6 -6
drivers/power/supply/wm831x_power.c
··· 234 234 { 510, 15 << WM831X_CHG_TIME_SHIFT }, 235 235 }; 236 236 237 - static void wm831x_battey_apply_config(struct wm831x *wm831x, 237 + static void wm831x_battery_apply_config(struct wm831x *wm831x, 238 238 struct chg_map *map, int count, int val, 239 239 int *reg, const char *name, 240 240 const char *units) ··· 281 281 if (pdata->fast_enable) 282 282 reg1 |= WM831X_CHG_FAST; 283 283 284 - wm831x_battey_apply_config(wm831x, trickle_ilims, 284 + wm831x_battery_apply_config(wm831x, trickle_ilims, 285 285 ARRAY_SIZE(trickle_ilims), 286 286 pdata->trickle_ilim, &reg2, 287 287 "trickle charge current limit", "mA"); 288 288 289 - wm831x_battey_apply_config(wm831x, vsels, ARRAY_SIZE(vsels), 289 + wm831x_battery_apply_config(wm831x, vsels, ARRAY_SIZE(vsels), 290 290 pdata->vsel, &reg2, 291 291 "target voltage", "mV"); 292 292 293 - wm831x_battey_apply_config(wm831x, fast_ilims, ARRAY_SIZE(fast_ilims), 293 + wm831x_battery_apply_config(wm831x, fast_ilims, ARRAY_SIZE(fast_ilims), 294 294 pdata->fast_ilim, &reg2, 295 295 "fast charge current limit", "mA"); 296 296 297 - wm831x_battey_apply_config(wm831x, eoc_iterms, ARRAY_SIZE(eoc_iterms), 297 + wm831x_battery_apply_config(wm831x, eoc_iterms, ARRAY_SIZE(eoc_iterms), 298 298 pdata->eoc_iterm, &reg1, 299 299 "end of charge current threshold", "mA"); 300 300 301 - wm831x_battey_apply_config(wm831x, chg_times, ARRAY_SIZE(chg_times), 301 + wm831x_battery_apply_config(wm831x, chg_times, ARRAY_SIZE(chg_times), 302 302 pdata->timeout, &reg2, 303 303 "charger timeout", "min"); 304 304