power: supply: rt5033_charger: Replace "&pdev->dev" by "charger->dev" in probe
authorJakob Hauser <jahau@rocketmail.com>
Sun, 1 Oct 2023 13:17:44 +0000 (15:17 +0200)
committerSebastian Reichel <sebastian.reichel@collabora.com>
Wed, 4 Oct 2023 20:27:34 +0000 (22:27 +0200)
commit3f26d8b6d1cbd41c5fa663c9ea48a2b832cfb58f
treecfb8b5821a47b5b4b4df45f8d4de9a6515c506a4
parent1c6877f1768a34c04e3a82f9f950f78488a1753b
power: supply: rt5033_charger: Replace "&pdev->dev" by "charger->dev" in probe

At the beginning of the probe function, "charger->dev" is set equal to
"&pdev->dev". Therefore it's more clear to subsequently use "charger->dev"
instead of "&pdev->dev".

Signed-off-by: Jakob Hauser <jahau@rocketmail.com>
Link: https://lore.kernel.org/r/39b4f00e010446e453905c8dc3ca1e47e9f2c5f8.1696165240.git.jahau@rocketmail.com
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
drivers/power/supply/rt5033_charger.c