Re: [PATCH 0/7] power_supply: Decrement the device reference counter

2014-10-15 Thread Krzysztof Kozlowski
On śro, 2014-10-15 at 14:18 +0200, Pavel Machek wrote: > Hi! > > > The reference counter of device allocated for power supply was > > incremented with each call to power_supply_get_by_name() and > > power_supply_get_by_phandle(). > > > > Add a symmetric 'put' operation so the device could be rele

Re: [PATCH 0/7] power_supply: Decrement the device reference counter

2014-10-15 Thread Pavel Machek
Hi! > The reference counter of device allocated for power supply was > incremented with each call to power_supply_get_by_name() and > power_supply_get_by_phandle(). > > Add a symmetric 'put' operation so the device could be released after > final put_device() call during supply unregistering. >

[PATCH 0/7] power_supply: Decrement the device reference counter

2014-10-14 Thread Krzysztof Kozlowski
Hi, The reference counter of device allocated for power supply was incremented with each call to power_supply_get_by_name() and power_supply_get_by_phandle(). Add a symmetric 'put' operation so the device could be released after final put_device() call during supply unregistering. Rebased on ne