diff options
| author | Robert Jarzmik <[email protected]> | 2016-10-26 19:41:44 +0000 |
|---|---|---|
| committer | Sebastian Reichel <[email protected]> | 2016-11-23 22:48:12 +0000 |
| commit | 6480af4915d6ffb66afc39eee4e9e66cbf59b938 (patch) | |
| tree | 03b16a0cfbc93e4c49e84d09d36e09344e2cfd92 /drivers/gpu/drm/amd/amdgpu/amdgpu_bios.c | |
| parent | wm8350_power: use permission-specific DEVICE_ATTR variants (diff) | |
| download | kernel-6480af4915d6ffb66afc39eee4e9e66cbf59b938.tar.gz kernel-6480af4915d6ffb66afc39eee4e9e66cbf59b938.zip | |
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 <[email protected]>
Acked-by: Charles Keepax <[email protected]>
Signed-off-by: Sebastian Reichel <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_bios.c')
0 files changed, 0 insertions, 0 deletions
