Commit 6eb9748f authored by luguohong's avatar luguohong Committed by Todd Kjos
Browse files

FROMGIT: HID: input: rename hidinput_set_battery_charge_status()



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>

Bug: 435360874
(cherry picked from commit a82231b2
 https://web.git.kernel.org/pub/scm/linux/kernel/git/hid/hid.git

 for-6.17/upstream-fixes)
Change-Id: I5e2a5baa49a83cc98a0b3ee76a92363151e3af20
Signed-off-by: default avatarGuohong Lu <luguohong@xiaomi.corp-partner.google.com>
parent f6ffb4d5
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment