Thread (1 message) 1 message, 1 author, 2016-11-25

Re: [PATCH 6/9] power_supply: wm97xx_battery: use power_supply_get_drvdata

From: Robert Jarzmik <robert.jarzmik@free.fr>
Date: 2016-11-25 19:54:41
Also in: alsa-devel, linux-arm-kernel, linux-pm, lkml

Possibly related (same subject, not in this thread)

Sebastian Reichel [off-list ref] writes:
Hi Robert,

On Wed, Oct 26, 2016 at 09:41:44PM +0200, Robert Jarzmik wrote:
quoted
As the power supply framework provides a way to store and retrieve
private supply data, use it.

In the process, change the platform data for wm97xx_battery from a
container of a single struct wm97xx_batt_pdata to the direct point to wm97xx_batt_pdata.

Signed-off-by: Robert Jarzmik <robert.jarzmik@free.fr>
---
 drivers/input/touchscreen/wm97xx-core.c |  2 +-
 drivers/power/supply/wm97xx_battery.c   | 25 ++++++++++---------------
 2 files changed, 11 insertions(+), 16 deletions(-)
I queued this into power-supply's for-next branch.
Thanks Sebastian.

Cheers.

-- 
Robert
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help