diff options
author | NĂcolas F. R. A. Prado <nfraprado@collabora.com> | 2022-04-29 23:13:24 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2022-05-04 17:30:03 +0300 |
commit | 6d435a94ba5bb4f2ad381c0828fbae89c66b50fe (patch) | |
tree | 5548c3101071ddeab6e46d35224b420f7f2186a5 /drivers/regulator/core.c | |
parent | dfd2b37edf7ef469574ef7f36e3a1905ac9ead62 (diff) | |
download | linux-6d435a94ba5bb4f2ad381c0828fbae89c66b50fe.tar.xz |
regulator: mt6315: Enforce regulator-compatible, not name
The MT6315 PMIC dt-binding should enforce that one of the valid
regulator-compatible is set in each regulator node. However it was
mistakenly matching against regulator-name instead.
Fix the typo. This not only fixes the compatible verification, but also
lifts the regulator-name restriction, so that more meaningful names can
be set for each platform.
Signed-off-by: NĂcolas F. R. A. Prado <nfraprado@collabora.com>
Link: https://lore.kernel.org/r/20220429201325.2205799-1-nfraprado@collabora.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/regulator/core.c')
0 files changed, 0 insertions, 0 deletions