summaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/proc.py
diff options
context:
space:
mode:
authorJakob Hauser <jahau@rocketmail.com>2023-10-01 16:17:43 +0300
committerSebastian Reichel <sebastian.reichel@collabora.com>2023-10-04 23:27:34 +0300
commit1c6877f1768a34c04e3a82f9f950f78488a1753b (patch)
treedf0274cc622955f67f41097109944c85efe722fe /scripts/gdb/linux/proc.py
parent8242336dc8a8009b93fb7c4506d79a8c894b3583 (diff)
downloadlinux-1c6877f1768a34c04e3a82f9f950f78488a1753b.tar.xz
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 <jahau@rocketmail.com> Link: https://lore.kernel.org/r/0aff8c2a18cf4b88ec3333f6679a8419dd76ca29.1696165240.git.jahau@rocketmail.com Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Diffstat (limited to 'scripts/gdb/linux/proc.py')
0 files changed, 0 insertions, 0 deletions