<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/drivers/power, branch v3.4</title>
<subtitle>Linux kernel source tree</subtitle>
<id>https://git.amat.us/linux/atom/drivers/power?h=v3.4</id>
<link rel='self' href='https://git.amat.us/linux/atom/drivers/power?h=v3.4'/>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/'/>
<updated>2012-03-30T23:09:02Z</updated>
<entry>
<title>Merge tag 'for-v3.4-rc1' of git://git.infradead.org/battery-2.6</title>
<updated>2012-03-30T23:09:02Z</updated>
<author>
<name>Linus Torvalds</name>
<email>torvalds@linux-foundation.org</email>
</author>
<published>2012-03-30T23:09:02Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=919c840167ec93167e00ca817aa4627170419ebf'/>
<id>urn:sha1:919c840167ec93167e00ca817aa4627170419ebf</id>
<content type='text'>
Pull battery updates from Anton Vorontsov:
 "Various small bugfixes and enhancements, plus two new drivers:
   - A quite complex ab8500 charger driver, submitted by Arun Murthy @
     ST-Ericsson;
   - Summit Microelectronics SMB347 Battery Charger, submitted by Bruce
     E Robertson and Alan Cox @ Intel.

  And that's all."

* tag 'for-v3.4-rc1' of git://git.infradead.org/battery-2.6: (36 commits)
  max17042_battery: Clean up interrupt handling
  Revert "max8998_charger: Include linux/module.h just once"
  ab8500_fg: Fix some build warnings on x86_64
  max17042_battery: Fix CHARGE_FULL representation.
  max8998_charger: Include linux/module.h just once
  power_supply: Convert i2c drivers to module_i2c_driver
  lp8727_charger: Add MODULE_DEVICE_TABLE
  charger-manager: Simplify charger_get_property(), get rid of a warning
  charger-manager: Clean up for better readability
  da9052-battery: Convert to use module_platform_driver
  da9052-battery: Fix a memory leak when unload the module
  da9052-battery: Add missing platform_set_drvdata
  ab8500: Turn unneeded global symbols into local ones
  ab8500_fg: Fix copy-paste error
  ab8500_fg: Get rid of 'struct battery_type'
  ab8500_fg: Get rid of 'struct v_to_cap'
  ab8500_btemp: Get rid of 'enum adc_therm'
  ab8500_charger: Convert to the new USB OTG calls
  ab8500-btemp: AB8500 battery temperature driver
  ab8500-fg: A8500 fuel gauge driver
  ...
</content>
</entry>
<entry>
<title>max17042_battery: Clean up interrupt handling</title>
<updated>2012-03-26T16:41:29Z</updated>
<author>
<name>Ramakrishna Pallala</name>
<email>ramakrishna.pallala@intel.com</email>
</author>
<published>2012-03-20T21:33:16Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=5cdd4d7fa5424f2018193a0c2af3bef9036c973e'/>
<id>urn:sha1:5cdd4d7fa5424f2018193a0c2af3bef9036c973e</id>
<content type='text'>
Max17042 driver has dummy hardIRQ function which
does nothing but waking the threaded handler.

This patch removes the hardIRQ function and also
modifies the interrupt type to falling edge. While
we are there, change the macros to comply with the
Data sheet.

Signed-off-by: Ramakrishna Pallala &lt;ramakrishna.pallala@intel.com&gt;
Signed-off-by: Anton Vorontsov &lt;anton.vorontsov@linaro.org&gt;
</content>
</entry>
<entry>
<title>Revert "max8998_charger: Include linux/module.h just once"</title>
<updated>2012-03-26T16:41:27Z</updated>
<author>
<name>Anton Vorontsov</name>
<email>anton.vorontsov@linaro.org</email>
</author>
<published>2012-03-26T16:26:49Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=d6f0b00c0a5f21a54b7f44838f3c3bf73d37b920'/>
<id>urn:sha1:d6f0b00c0a5f21a54b7f44838f3c3bf73d37b920</id>
<content type='text'>
This reverts commit 0c7b5558ecc0a508bb7199776afbf18279595539.

linux-next has the following patch:

- - - -
commit 13ae246db4a02971ef4f557af1f6d3e21d64b710
Author: Paul Gortmaker &lt;paul.gortmaker@windriver.com&gt;
Date:   Sun Jan 29 15:44:45 2012 -0500

    includecheck: delete any duplicate instances of module.h
- - - -

It removes the other instance of include/module.h in this
driver, and so both gets removed. This makes max8998 driver
non-buildable.

Signed-off-by: Anton Vorontsov &lt;anton.vorontsov@linaro.org&gt;
</content>
</entry>
<entry>
<title>ab8500_fg: Fix some build warnings on x86_64</title>
<updated>2012-03-26T16:41:26Z</updated>
<author>
<name>Anton Vorontsov</name>
<email>anton.vorontsov@linaro.org</email>
</author>
<published>2012-03-26T16:18:33Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=5ae2b822e4dc2219e9544fec3be53de699ea0f56'/>
<id>urn:sha1:5ae2b822e4dc2219e9544fec3be53de699ea0f56</id>
<content type='text'>
Noticed the following warnings:

  CC      drivers/power/ab8500_fg.o
drivers/power/ab8500_fg.c: In function 'charge_full_store':
drivers/power/ab8500_fg.c:2258:2: warning: format '%d' expects argument of type 'int', but argument 4 has type 'ssize_t' [-Wformat]
drivers/power/ab8500_fg.c: In function ‘charge_now_store’:
drivers/power/ab8500_fg.c:2280:2: warning: format '%d' expects argument of type 'int', but argument 4 has type 'ssize_t' [-Wformat]

This patch fixes the issues.

Signed-off-by: Anton Vorontsov &lt;anton.vorontsov@linaro.org&gt;
</content>
</entry>
<entry>
<title>max17042_battery: Fix CHARGE_FULL representation.</title>
<updated>2012-03-26T16:41:25Z</updated>
<author>
<name>MyungJoo Ham</name>
<email>myungjoo.ham@samsung.com</email>
</author>
<published>2012-03-14T02:00:01Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=6e0e60cd0d688d0d1af85ef2abb8e363595af988'/>
<id>urn:sha1:6e0e60cd0d688d0d1af85ef2abb8e363595af988</id>
<content type='text'>
CHARGE_FULL should represent the full capacity of the battery in uAh.
The 0x10 (FullCAP) register shows the compensated full capacity in
mAh * 2; e.g., reg(0x10) = 0xBB8 means that it is 1500mAh.

Signed-off-by: MyungJoo Ham &lt;myungjoo.ham@samsung.com&gt;
Signed-off-by: Anton Vorontsov &lt;anton.vorontsov@linaro.org&gt;
</content>
</entry>
<entry>
<title>max8998_charger: Include linux/module.h just once</title>
<updated>2012-03-26T16:41:24Z</updated>
<author>
<name>Jesper Juhl</name>
<email>jj@chaosbits.net</email>
</author>
<published>2012-02-05T00:32:02Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=3124c4a080f9263abb667a827d30c9e81c9e5a21'/>
<id>urn:sha1:3124c4a080f9263abb667a827d30c9e81c9e5a21</id>
<content type='text'>
Remove the duplicate.

Signed-off-by: Jesper Juhl &lt;jj@chaosbits.net&gt;
Acked-by: MyungJoo Ham &lt;myungjoo.ham@samsung.com&gt;
Signed-off-by: Anton Vorontsov &lt;anton.vorontsov@linaro.org&gt;
</content>
</entry>
<entry>
<title>power_supply: Convert i2c drivers to module_i2c_driver</title>
<updated>2012-03-26T16:41:22Z</updated>
<author>
<name>Axel Lin</name>
<email>axel.lin@gmail.com</email>
</author>
<published>2012-01-21T06:42:54Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=5ff92e7ab3591299089cfba440acb4d2ba8ab92f'/>
<id>urn:sha1:5ff92e7ab3591299089cfba440acb4d2ba8ab92f</id>
<content type='text'>
Factor out some boilerplate code for i2c driver registration
into module_i2c_driver.

Signed-off-by: Axel Lin &lt;axel.lin@gmail.com&gt;
Cc: Woogyom Kim &lt;milo.kim@ti.com&gt;
Cc: Daniel Jeong &lt;daniel.jeong@ti.com&gt;
Cc: Minkyu Kang &lt;mk7.kang@samsung.com&gt;
Cc: Peter Edwards &lt;sweetlilmre@gmail.com&gt;
Acked-by: Milo(Woogyom) Kim &lt;milo.kim@ti.com&gt;
Acked-by: Rhyland Klein &lt;rklein@nvidia.com&gt;
Acked-by: Ryan Mallon &lt;rmallon@gmail.com&gt;
Signed-off-by: Anton Vorontsov &lt;anton.vorontsov@linaro.org&gt;
</content>
</entry>
<entry>
<title>lp8727_charger: Add MODULE_DEVICE_TABLE</title>
<updated>2012-03-26T16:41:21Z</updated>
<author>
<name>Axel Lin</name>
<email>axel.lin@gmail.com</email>
</author>
<published>2012-01-12T12:45:02Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=e2c5f7db789a5be8ba131e9fe3e87b66bc606e3b'/>
<id>urn:sha1:e2c5f7db789a5be8ba131e9fe3e87b66bc606e3b</id>
<content type='text'>
Add MODULE_DEVICE_TABLE to setup modalias for lp8727. Allows auto
modprobing.

Signed-off-by: Axel Lin &lt;axel.lin@gmail.com&gt;
Signed-off-by: Anton Vorontsov &lt;anton.vorontsov@linaro.org&gt;
</content>
</entry>
<entry>
<title>charger-manager: Simplify charger_get_property(), get rid of a warning</title>
<updated>2012-03-26T16:41:20Z</updated>
<author>
<name>Anton Vorontsov</name>
<email>anton.vorontsov@linaro.org</email>
</author>
<published>2012-03-15T17:01:28Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=df58c04c9f4182f979973a06ce40b44a5b84aeb5'/>
<id>urn:sha1:df58c04c9f4182f979973a06ce40b44a5b84aeb5</id>
<content type='text'>
This patch fixes the following warning and makes the code a little
bit more simpler:

  CC      drivers/power/charger-manager.o
charger-manager.c: In function 'charger_get_property':
charger-manager.c:429:15: warning: 'i' may be used uninitialized in this function [-Wuninitialized]

Signed-off-by: Anton Vorontsov &lt;anton.vorontsov@linaro.org&gt;
</content>
</entry>
<entry>
<title>charger-manager: Clean up for better readability</title>
<updated>2012-03-26T16:41:19Z</updated>
<author>
<name>Axel Lin</name>
<email>axel.lin@gmail.com</email>
</author>
<published>2012-01-12T04:56:35Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=bb2a95c2d2450be1ac942adf6815375f620b7015'/>
<id>urn:sha1:bb2a95c2d2450be1ac942adf6815375f620b7015</id>
<content type='text'>
This patch includes below changes:

* Some code change for better readability.
* Current code in probe already ensures desc-&gt;charger_regulators
  is not NULL. No need to check if it is NULL or not before calling
  regulator_bulk_free().
* Use dev_get_drvdata() in cm_suspend_prepare() and cm_suspend_complete()

Signed-off-by: Axel Lin &lt;axel.lin@gmail.com&gt;
Signed-off-by: Anton Vorontsov &lt;anton.vorontsov@linaro.org&gt;
</content>
</entry>
</feed>
