summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDavid Lechner <dlechner@baylibre.com>2026-04-09 15:30:38 -0500
committerDavid Lechner <dlechner@baylibre.com>2026-04-29 09:26:48 -0500
commitdf660cc7b26aa4287bb2ae6cd56e58ac59a805f2 (patch)
tree4b08488fdda1de0e0ab85f86f658e4b2429fd18a /include
parent27fdacf4208e30f3ae8f8ee97f268d4a164b7dea (diff)
power: pmic: mtk-pwrap: use pmic compatible to select child info
Change the logic for selecting pmic_children_info to use the compatible string from the devicetree instead of expecting the pwrap (part of the MCU) to correspond to the separate PMIC chip. In addition to being more correct, it also saves a few lines of code for each MCU type that is added by dropping the enum and type field. Reviewed-by: Julien Stephan <jstephan@baylibre.com> Link: https://patch.msgid.link/20260409-mtk-pmic-fixes-v2-6-73e83aa6345b@baylibre.com Signed-off-by: David Lechner <dlechner@baylibre.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions