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)
commit9584051f3cf3af181e577960956bb7c085879b67
treec5fcdf72125408921864c7af856a44e572992191
parent033dea165c8aa4a64217b050bb7cdd551aa286fc
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