diff options
| author | Lars-Peter Clausen <[email protected]> | 2010-05-24 21:57:33 +0200 |
|---|---|---|
| committer | Lars-Peter Clausen <[email protected]> | 2011-02-22 11:02:40 +0100 |
| commit | 3413b4ea250ff0b4142a154a2764e33979957e8b (patch) | |
| tree | b93cc44a5ee6880995f22bdc4601e0143b3f1472 /include/linux/debugobjects.h | |
| 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 <[email protected]>
Acked-by: Rodolfo Giometti <[email protected]>
Tested-by: Grazvydas Ignotas <[email protected]>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions