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)
commit2c4bf6983402660569241991b86b6ca72af41701
treea747c1ff4820534c199696604c2cd5921238d7af
parent52bef41f606b036541f71f529819e5889ab1bbeb
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