diff options
author | 2023-09-03 17:48:32 +0100 | |
---|---|---|
committer | 2023-09-11 01:30:10 +0100 | |
commit | 1b4daf643a3a21cff4bcad5b799960d5a0673d11 (patch) | |
tree | 2f762340f9bff328c6334b18c62538285294b4ab /tools/perf/scripts/python | |
parent | regulator: pv880x0: Drop ifdeffery (diff) | |
download | wireguard-linux-1b4daf643a3a21cff4bcad5b799960d5a0673d11.tar.xz wireguard-linux-1b4daf643a3a21cff4bcad5b799960d5a0673d11.zip |
regulator: pv880x0: Simplify probe()
Replace pv88080_types->pv88080_compatible_regmap in OF/ID tables and
simplify the probe() by replacing of_match_node() and ID lookup for
retrieving match data by i2c_get_match_data(). After this there is
no user of enum pv88080_types. So drop it.
While at it, move OF table near to the user.
Signed-off-by: Biju Das <biju.das.jz@bp.renesas.com>
Link: https://lore.kernel.org/r/20230903164832.83077-3-biju.das.jz@bp.renesas.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions