summaryrefslogtreecommitdiff
path: root/drivers/power/supply/da9150-charger.c
diff options
context:
space:
mode:
authorLubomir Rintel <lkundrak@v3.sk>2019-04-18 17:46:50 +0300
committerSebastian Reichel <sre@kernel.org>2019-04-18 22:52:31 +0300
commitf7a228eaf4f8aa54c223a763d80bed5dcb072499 (patch)
treefc10d869d2e9f9b5462be6541052894b9cfdc093 /drivers/power/supply/da9150-charger.c
parenta7a9bacb9a32f9cebe5feda2e33064440f52d61d (diff)
downloadlinux-f7a228eaf4f8aa54c223a763d80bed5dcb072499.tar.xz
power: supply: olpc_battery: Use DT to get battery version
Avoid using the x86 OLPC platform specific call to get the board version. That wouldn't work on FDT-based ARM MMP2 platform. Add the XO 1.5 compatible string too. This is actually not completely necessary as the battery nodes on XO 1.5 claim to be compatible with "olpc,xo1-battery", but there are, in fact, differencies. Signed-off-by: Lubomir Rintel <lkundrak@v3.sk> Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com> Acked-by: Pavel Machek <pavel@ucw.cz> Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Diffstat (limited to 'drivers/power/supply/da9150-charger.c')
0 files changed, 0 insertions, 0 deletions