commit | 6480af4915d6ffb66afc39eee4e9e66cbf59b938 | [log] [tgz] |
---|---|---|
author | Robert Jarzmik <robert.jarzmik@free.fr> | Wed Oct 26 21:41:44 2016 +0200 |
committer | Sebastian Reichel <sre@kernel.org> | Wed Nov 23 23:48:12 2016 +0100 |
tree | 03b16a0cfbc93e4c49e84d09d36e09344e2cfd92 | |
parent | 8d4124cb94c0613d79a2e3e5727b35a36497ffb7 [diff] |
power_supply: wm97xx_battery: use power_supply_get_drvdata 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> Acked-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com> Signed-off-by: Sebastian Reichel <sre@kernel.org>