diff options
author | Rob Herring <[email protected]> | 2019-01-25 09:37:04 -0600 |
---|---|---|
committer | Mark Brown <[email protected]> | 2019-01-25 17:51:05 +0000 |
commit | ec520911ecc7eaf01a69d278185ddc99bba901e1 (patch) | |
tree | 15a92a9b561fe54202457c9316cca08f02a7046f /lib/mpi/mpi-cmp.c | |
parent | 0ab66b3c326ef8f77dae9f528118966365757c0c (diff) |
regulator: mc13xxx: Use lowercase regulator names to match the DT
Since c32569e358ad ("regulator: Use of_node_name_eq for node name
comparisons") Vivien reported the mc13892-regulator complaining about
not being able to find regulators.
This is because prior to that commit we used of_node_cmp() to compare
the regulator array passed from mc13892_regulators down to
mc13xxx_parse_regulators_dt() and they are all defined in uppercase
letters by the MC13892_*_DEFINE* macros, whereas they are defined as
lowercase in the DTS.
Fix this by using a lowercase regulator name to match the DT node name.
Fixes: c32569e358ad ("regulator: Use of_node_name_eq for node name comparisons")
Reported-by: Vivien Didelot <[email protected]>
Reported-by: Florian Fainelli <[email protected]>
Cc: Liam Girdwood <[email protected]>
Cc: Mark Brown <[email protected]>
Signed-off-by: Rob Herring <[email protected]>
Tested-by: Vivien Didelot <[email protected]>
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-cmp.c')
0 files changed, 0 insertions, 0 deletions