04 Jan, 2012

1 commit

  • This patch converts the drivers in drivers/power/* to use the
    module_platform_driver() macro which makes the code smaller and a bit
    simpler.

    Cc: Mike Rapoport
    Cc: Lars-Peter Clausen
    Cc: Nithish Mahalingam
    Cc: MyungJoo Ham
    Cc: Haojian Zhuang
    Cc: Balaji Rao
    Cc: Mark Brown
    Signed-off-by: Axel Lin
    Acked-by: Clifton Barnes
    Signed-off-by: Anton Vorontsov

    Axel Lin
     

25 Nov, 2011

1 commit


10 Apr, 2011

1 commit


15 Jan, 2011

1 commit

  • * git://git.infradead.org/battery-2.6: (21 commits)
    power_supply: Add MAX17042 Fuel Gauge Driver
    olpc_battery: Fix up XO-1.5 properties list
    olpc_battery: Add support for CURRENT_NOW and VOLTAGE_NOW
    olpc_battery: Add support for CHARGE_NOW
    olpc_battery: Add support for CHARGE_FULL_DESIGN
    olpc_battery: Ambient temperature is not available on XO-1.5
    jz4740-battery: Should include linux/io.h
    s3c_adc_battery: Add gpio_inverted field to pdata
    power_supply: Don't use flush_scheduled_work()
    power_supply: Fix use after free and memory leak
    gpio-charger: Fix potential race between irq handler and probe/remove
    gpio-charger: Provide default name for the power_supply
    gpio-charger: Check result of kzalloc
    jz4740-battery: Check if platform_data is supplied
    isp1704_charger: Detect charger after probe
    isp1704_charger: Set isp->dev before anything needs it
    isp1704_charger: Detect HUB/Host chargers
    isp1704_charger: Correct length for storing model
    power_supply: Add gpio charger driver
    jz4740-battery: Protect against concurrent battery readings
    ...

    Linus Torvalds
     

22 Dec, 2010

1 commit

  • flush_scheduled_work() is deprecated and scheduled to be removed.

    In battery drivers, the work can be canceled on probe failure and
    removal and should be flushed on suspend. Replace
    flush_scheduled_work() usages with direct cancels and flushes.

    Signed-off-by: Tejun Heo
    Signed-off-by: Anton Vorontsov

    Tejun Heo
     

15 Dec, 2010

1 commit

  • cancel_rearming_delayed_work[queue]() has been superceded by
    cancel_delayed_work_sync() quite some time ago. Convert all the
    in-kernel users. The conversions are completely equivalent and
    trivial.

    Signed-off-by: Tejun Heo
    Acked-by: "David S. Miller"
    Acked-by: Greg Kroah-Hartman
    Acked-by: Evgeniy Polyakov
    Cc: Jeff Garzik
    Cc: Benjamin Herrenschmidt
    Cc: Mauro Carvalho Chehab
    Cc: netdev@vger.kernel.org
    Cc: Anton Vorontsov
    Cc: David Woodhouse
    Cc: "J. Bruce Fields"
    Cc: Neil Brown
    Cc: Alex Elder
    Cc: xfs-masters@oss.sgi.com
    Cc: Christoph Lameter
    Cc: Pekka Enberg
    Cc: Andrew Morton
    Cc: netfilter-devel@vger.kernel.org
    Cc: Trond Myklebust
    Cc: linux-nfs@vger.kernel.org

    Tejun Heo
     

24 Aug, 2010

1 commit


10 Aug, 2010

2 commits


18 Jun, 2010

1 commit

  • The PMIC Battery driver provides battery charging and battery gauge
    functionality on Intel MID platforms. This provides the basic functions.
    There are some USB drivers to merge before the selection of charging
    between the different USB power levels can be enabled.

    Moved to a platform device by Alek Du.

    Signed-off-by: Nithish Mahalingam
    Signed-off-by: Alan Cox
    Signed-off-by: Anton Vorontsov

    Nithish Mahalingam