diff options
author | Lars-Peter Clausen <lars@metafoo.de> | 2010-05-24 21:57:33 +0200 |
---|---|---|
committer | Lars-Peter Clausen <lars@metafoo.de> | 2011-02-22 11:02:40 +0100 |
commit | 3413b4ea250ff0b4142a154a2764e33979957e8b (patch) | |
tree | b93cc44a5ee6880995f22bdc4601e0143b3f1472 /lib/Kconfig.kgdb | |
parent | a2e5118c370e78c3841606e7edc7677c986325fa (diff) |
bq27x00: Return -ENODEV for properties if the battery is not present
This patch changes get_property callback of the bq27x00 battery to return
-ENODEV for properties other then the PROP_PRESENT if the battery is not
present.
The power subsystem core expects a driver to behave that way.
Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Acked-by: Rodolfo Giometti <giometti@linux.it>
Tested-by: Grazvydas Ignotas <notasas@gmail.com>
Diffstat (limited to 'lib/Kconfig.kgdb')
0 files changed, 0 insertions, 0 deletions