diff options
| author | Svyatoslav Ryhel <clamor95@gmail.com> | 2026-10-13 21:14:15 +0300 |
|---|---|---|
| committer | Mark Brown <broonie@kernel.org> | 2026-10-13 20:17:50 +0100 |
| commit | 58f1f2c36970366a8194e3b0ddbd72b8d25b0689 (patch) | |
| tree | bf3d1558602fea9212cdbd5a6edd54a8deeb03c0 /tools/perf/scripts/python | |
| parent | 67b4e8a9426ba24383038fb74fa147d253943ade (diff) | |
regulator: lp872x: Remove platform_data based probing
The platform_data-based probing is tightly integrated into the lp872x
driver structure itself; removing just the platform data support is
impossible without remodeling major parts of the probe sequence.
The lp872x_platform_data structure was removed, and its contents were
incorporated into the driver private structure and lp872x_chip_info (which
holds differences between the LP8720 and LP8725). The
lp872x_populate_pdata_from_dt() helper was removed: general Device Tree
parsing code was integrated directly into the probe function, and
DVS-related code was consolidated into lp872x_init_dvs().
lp872x_hw_enable() and lp872x_config() helpers were folded into probe().
i2c_client_get_device_id() was switched to i2c_get_match_data(). Finally,
of_regulator_match structures were dropped, and
lp872x_regulator_register() was upgraded to rely on the core regulator
registration framework.
Signed-off-by: Svyatoslav Ryhel <clamor95@gmail.com>
Link: https://patch.msgid.link/20261013181417.492252-6-clamor95@gmail.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
