power: supply: max77705_charger: use regfields for config registers

[ Upstream commit ef1e734dbe ]

Using regfields allows to cleanup masks and register offset definition,
allowing to access register info by it's functional name.

Signed-off-by: Dzmitry Sankouski <dsankouski@gmail.com>
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Stable-dep-of: 12a1185a06 ("power: supply: max77705_charger: rework interrupts")
Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
Dzmitry Sankouski 2025-09-18 20:06:48 +03:00 • committed by Greg Kroah-Hartman
commit 9265a8385d
2 changed files with 93 additions and 114 deletions