• H
    power: supply: axp288_charger: Drop platform_data dependency · eac53b36
    Hans de Goede 提交于
    When the axp288_charger driver was originally merged, it was merged with
    a dependency on some other driver providing platform data for it.
    
    However the battery-data-framework which should provide that data never
    got merged, so the axp288_charger as merged upstream has never worked,
    its probe method simply always returns -ENODEV.
    
    This commit removes the dependency on the platform_data instead reading
    back the charging current and charging voltage that the firmware has set
    and using those values as the maximum values the user may set.
    Signed-off-by: NHans de Goede <hdegoede@redhat.com>
    Signed-off-by: NSebastian Reichel <sre@kernel.org>
    eac53b36
axp288_charger.c 25.4 KB
反馈
建议
客服 返回
顶部