]> git.baikalelectronics.ru Git - kernel.git/commit
power: supply: charger-manager: Remove cm_notify_event function
authorJonghwa Lee <jonghwa3.lee@samsung.com>
Thu, 14 May 2020 23:04:27 +0000 (16:04 -0700)
committerSebastian Reichel <sebastian.reichel@collabora.com>
Fri, 28 Aug 2020 17:03:24 +0000 (19:03 +0200)
commit1ef36786710c55f648f69585c41408b7905a974e
treec5fcdf72125408921864c7af856a44e572992191
parenteb151fe7a30fff3684021548f9a034b2eab33dcf
power: supply: charger-manager: Remove cm_notify_event function

cm_notify_event() was introduced to get an event associated with the
battery status externally (ie in board files), but no one ever used it.
Moreover it makes charger manager driver more complicated. Drop the
function and all data related to it to simplify the driver.

Signed-off-by: Jonghwa Lee <jonghwa3.lee@samsung.com>
Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
Signed-off-by: Jonathan Bakker <xc-racer2@live.ca>
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
drivers/power/supply/charger-manager.c
include/linux/power/charger-manager.h