olpc_battery: Ambient temperature is not available on XO-1.5
authorDaniel Drake <dsd@laptop.org>
Wed, 29 Dec 2010 19:12:01 +0000 (19:12 +0000)
committerAnton Vorontsov <cbouatmailru@gmail.com>
Wed, 12 Jan 2011 17:28:24 +0000 (20:28 +0300)
commitc566d299f91bdb622046126dbcb040f9e52572ba
treeadeecaada08dec5c2dc643575dd360924ce88d91
parentf3dcab70e192b0489ac05cc554e0b1cedae46d1a
olpc_battery: Ambient temperature is not available on XO-1.5

The XO-1.5 does not support the ambient temperature property.
Create a separate list of properties for that configuration where
ambient temperature is not included, and apply the correct property
list at runtime.

Signed-off-by: Daniel Drake <dsd@laptop.org>
Signed-off-by: Anton Vorontsov <cbouatmailru@gmail.com>
drivers/power/olpc_battery.c