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:卢国宏 <luguohong@xiaomi.com> Signed-off-by:
José Expósito <jose.exposito89@gmail.com> Signed-off-by:
Jiri Kosina <jkosina@suse.com> Stable-dep-of: e94536e1 ("HID: input: report battery status changes immediately") Signed-off-by:
Sasha Levin <sashal@kernel.org>
Loading