]> asedeno.scripts.mit.edu Git - linux.git/commit
regulator: da9052: Use lowercase regulator names to match the DT
authorRob Herring <robh@kernel.org>
Fri, 25 Jan 2019 15:37:05 +0000 (09:37 -0600)
committerMark Brown <broonie@kernel.org>
Fri, 25 Jan 2019 17:52:59 +0000 (17:52 +0000)
commit45460fe9c0c628a14863a0f1dba1c46359841ed7
tree5166258e7bafc49711bc709dcd67a3ea667ea9c4
parentec520911ecc7eaf01a69d278185ddc99bba901e1
regulator: da9052: Use lowercase regulator names to match the DT

Since c32569e358ad ("regulator: Use of_node_name_eq for node name
comparisons"), regulator node name comparisons are case sensitive.
The DA9052 driver uses uppercase, but the DT has lowercase.

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")
Cc: Support Opensource <support.opensource@diasemi.com>
Cc: Liam Girdwood <lgirdwood@gmail.com>
Cc: Mark Brown <broonie@kernel.org>
Signed-off-by: Rob Herring <robh@kernel.org>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/regulator/da9052-regulator.c