+16
−7
Loading
Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more
The EUD driver operates on the power-supply property,
POWER_SUPPLY_PROP_INPUT_CURRENT_LIMIT, under the power-supply "battery".
This is incorrect as POWER_SUPPLY_PROP_INPUT_CURRENT_LIMIT is a part of
"usb" power-supply and not "battery". Hence, configure the driver with
the correct power-supply (and alter the names of corresponding
variables and functions).
Also, drop the reference to the power-supply from the platform driver's
.remove callback.
Change-Id: I9629586b8e429d70f22f3f60576adad78ea5d6d4
Signed-off-by:
Raghavendra Rao Ananta <rananta@codeaurora.org>