19 May, 2012

1 commit

  • Without the include we get build errors like:

    drivers/power/smb347-charger.c: In function 'smb347_probe':
    drivers/power/smb347-charger.c:1039:2: error: implicit declaration of function 'IS_ERR' [-Werror=implicit-function-declaration]
    drivers/power/smb347-charger.c:1040:3: error: implicit declaration of function 'PTR_ERR' [-Werror=implicit-function-declaration]

    Reported-by: Stephen Rothwell
    Signed-off-by: Mika Westerberg
    Signed-off-by: Anton Vorontsov

    Mika Westerberg
     

06 May, 2012

1 commit

  • CURRENT_NOW and VOLTAGE_NOW should be instantaneous readings
    from power supply(ex: battery).

    smb347 charger driver reports charge voltage for VOLTAGE_NOW
    and charge current for CURRENT_NOW attributes which are not
    instantaneous readings.

    This patch removes the battery VOLTAGE_NOW and CURRENT_NOW
    properties from the driver and also removes hw_to_current()
    which is not required anymore.

    Signed-off-by: Ramakrishna Pallala
    Acked-by: Mika Westerberg
    Signed-off-by: Anton Vorontsov

    Ramakrishna Pallala
     

05 May, 2012

5 commits


27 Mar, 2012

1 commit