diff options
author | Lubomir Rintel <lkundrak@v3.sk> | 2019-04-18 16:46:49 +0200 |
---|---|---|
committer | Sebastian Reichel <sebastian.reichel@collabora.com> | 2019-04-18 21:51:49 +0200 |
commit | a7a9bacb9a32f9cebe5feda2e33064440f52d61d (patch) | |
tree | ea85c0e3d40249f2d53ed9381057e777de976fd1 /drivers/power | |
parent | 47e120d3337b83ac6de2ebc622b3c9b6c1a9f315 (diff) | |
download | kernel_replicant_linux-a7a9bacb9a32f9cebe5feda2e33064440f52d61d.tar.gz kernel_replicant_linux-a7a9bacb9a32f9cebe5feda2e33064440f52d61d.tar.bz2 kernel_replicant_linux-a7a9bacb9a32f9cebe5feda2e33064440f52d61d.zip |
x86/platform/olpc: Use a correct version when making up a battery node
The XO-1 and XO-1.5 batteries apparently differ in an ability to report
ambient temperature. We need to use a different compatible string for the
XO-1.5 battery.
Previously olpc_dt_fixup() used the presence of the battery node's
compatible property to decide whether the DT is up to date. Now we need
to look for a particular value in the compatible string, to decide
Signed-off-by: Lubomir Rintel <lkundrak@v3.sk>
Acked-by: Pavel Machek <pavel@ucw.cz>
Acked-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Diffstat (limited to 'drivers/power')
0 files changed, 0 insertions, 0 deletions