diff options
| author | Jakob Hauser <[email protected]> | 2023-10-01 13:17:43 +0000 |
|---|---|---|
| committer | Sebastian Reichel <[email protected]> | 2023-10-04 20:27:34 +0000 |
| commit | 1c6877f1768a34c04e3a82f9f950f78488a1753b (patch) | |
| tree | df0274cc622955f67f41097109944c85efe722fe /drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c | |
| parent | power: supply: rt5033_charger: Add cable detection and USB OTG supply (diff) | |
| download | kernel-1c6877f1768a34c04e3a82f9f950f78488a1753b.tar.gz kernel-1c6877f1768a34c04e3a82f9f950f78488a1753b.zip | |
power: supply: rt5033_charger: Simplify initialization of rt5033_charger_data
Currently the struct "rt5033_charger_data" is initialized rather complicated.
The cause lies inside of the struct "rt5033_charger", where struct
"rt5033_charger_data" is implemented as a pointer *chg.
Therefore, inside of struct "rt5033_charger" change the struct
"rt5033_charger_data" to non-pointer "chg". It is then initialized right
away and can be accessed more easily.
Signed-off-by: Jakob Hauser <[email protected]>
Link: https://lore.kernel.org/r/0aff8c2a18cf4b88ec3333f6679a8419dd76ca29.1696165240.git.jahau@rocketmail.com
Signed-off-by: Sebastian Reichel <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c')
0 files changed, 0 insertions, 0 deletions
