diff options
author | André Draszik <andre.draszik@linaro.org> | 2025-04-09 21:37:38 +0100 |
---|---|---|
committer | Lee Jones <lee@kernel.org> | 2025-05-23 08:48:42 +0100 |
commit | aaaeae7e2ad1574fad3c68e249f02fa87a600516 (patch) | |
tree | c14098695812faf5c3c6606412cc6006e9af6181 /scripts/lib/kdoc/kdoc_files.py | |
parent | 0c33784aeaeb8867682e520bf28042b6ffce200a (diff) |
mfd: sec-i2c: Rework platform data and regmap instantiating
Instead of a large open-coded switch statement, just add both regmap
config and device type to the OF match data. This allows us to have all
related information in one place, and avoids a long switch() statement.
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: André Draszik <andre.draszik@linaro.org>
Link: https://lore.kernel.org/r/20250409-s2mpg10-v4-17-d66d5f39b6bf@linaro.org
Signed-off-by: Lee Jones <lee@kernel.org>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_files.py')
0 files changed, 0 insertions, 0 deletions