diff options
author | Arun Murthy <arun.murthy@stericsson.com> | 2011-09-21 11:22:59 +0530 |
---|---|---|
committer | Philippe Langlais <philippe.langlais@stericsson.com> | 2012-05-22 11:00:53 +0200 |
commit | f9c1042a8ca7c190545f14aec43285e38277fd84 (patch) | |
tree | eaa267bacd025db8b15c68990820886ca79c6b9d /include/xen/balloon.h | |
parent | 0c39da75fc4ea5f8b0c5f13c65c36161ae8ea57d (diff) |
power: ab5500-bm: update usb state change interface to otg notifier
Remove usb_state_changed() exported function. Replace it with otg notifier call.
This makes static_di redundant so it is removed. Moreover, there is no need to
protect usb_state.usb_changed with usb_lock. So usb_lock is removed as well.
Usb state is fabricated based on the reported mA. State is not as accurate as
reading it directly from the usb controller. This should not matter as battery-
manager driver should care more about mA than the state anyway.
Change-Id: I180062a87ca773b5c215aee3ef1c60315d309d42
Signed-off-by: Arun Murthy <arun.murthy@stericsson.com>
Signed-off-by: Mian Yousaf Kaukab <mian.yousaf.kaukab@stericsson.com>
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/31577
Reviewed-by: Srinidhi KASAGAR <srinidhi.kasagar@stericsson.com>
Diffstat (limited to 'include/xen/balloon.h')
0 files changed, 0 insertions, 0 deletions