aboutsummaryrefslogtreecommitdiff
path: root/lib/test_overflow.c
diff options
context:
space:
mode:
authorPhil Reid <[email protected]>2017-08-24 17:31:09 +0800
committerWolfram Sang <[email protected]>2017-10-28 23:43:25 +0200
commita0b8839e2afc6613566ab723f8e3f0e698e9e007 (patch)
tree285e7473038d00944200fba6972916661c71c924 /lib/test_overflow.c
parentdbc4deda03fe61a1c29d8218269714bf2c334b9b (diff)
power: supply: sbs-manager: Add alert callback and battery change notification
This adds smb alert support via the smbus_alert driver to generate power_supply_changed notifications when either external power is removed / applied or a battery inserted / removed. Use the i2c alert callback to notify the attached battery driver that a change has occurred. Signed-off-by: Phil Reid <[email protected]> Acked-by: Sebastian Reichel <[email protected]> Signed-off-by: Wolfram Sang <[email protected]>
Diffstat (limited to 'lib/test_overflow.c')
0 files changed, 0 insertions, 0 deletions