Commit 61d733a5 authored by José Expósito's avatar José Expósito Committed by Greg Kroah-Hartman
Browse files

HID: input: rename hidinput_set_battery_charge_status()



[ Upstream commit a82231b2 ]

In preparation for a patch fixing a bug affecting
hidinput_set_battery_charge_status(), rename the function to
hidinput_update_battery_charge_status() and move it up so it can be used
by hidinput_update_battery().

Refactor, no functional changes.

Tested-by: default avatar卢国宏 <luguohong@xiaomi.com>
Signed-off-by: default avatarJosé Expósito <jose.exposito89@gmail.com>
Signed-off-by: default avatarJiri Kosina <jkosina@suse.com>
Stable-dep-of: e94536e1 ("HID: input: report battery status changes immediately")
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent e7d0bd35
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment