]> git.baikalelectronics.ru Git - kernel.git/commit
power: supply: sbs-battery: combine get_presence_and_health
authorIkjoon Jang <ikjn@chromium.org>
Thu, 13 Aug 2020 05:10:07 +0000 (13:10 +0800)
committerSebastian Reichel <sebastian.reichel@collabora.com>
Thu, 27 Aug 2020 21:56:37 +0000 (23:56 +0200)
commit44369861be92e6dd3b8e6e9c1dbb4b924708f9f1
treea747c1ff4820534c199696604c2cd5921238d7af
parent143f22852154488f6b157a4e6b95895fce4a37ca
power: supply: sbs-battery: combine get_presence_and_health

This patch enables calling sbs_get_battery_presence_and_health()
without checking its chip type. No functional changes.

Signed-off-by: Ikjoon Jang <ikjn@chromium.org>
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
drivers/power/supply/sbs-battery.c