diff options
author | Vinod Koul <vkoul@kernel.org> | 2019-08-09 13:06:14 +0530 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2019-08-09 13:27:21 +0100 |
commit | 7172fb7f3abea4787ca01dda7297241c4b0f0af5 (patch) | |
tree | dfab2e3a904c40e482e9a31deb7e1b710f734af5 /drivers/regulator | |
parent | c6e20fa49818381dfa7288fad4c33b84408aab54 (diff) | |
download | linux-riscv-7172fb7f3abea4787ca01dda7297241c4b0f0af5.tar.gz linux-riscv-7172fb7f3abea4787ca01dda7297241c4b0f0af5.tar.bz2 linux-riscv-7172fb7f3abea4787ca01dda7297241c4b0f0af5.zip |
regulator: qcom-rpmh: Sort the compatibles
It helps to keep sorted order for compatibles, so sort them
Suggested-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Link: https://lore.kernel.org/r/20190809073616.1235-2-vkoul@kernel.org
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/regulator')
-rw-r--r-- | drivers/regulator/qcom-rpmh-regulator.c | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/drivers/regulator/qcom-rpmh-regulator.c b/drivers/regulator/qcom-rpmh-regulator.c index 693ffec62f3e..0ef2716da3bd 100644 --- a/drivers/regulator/qcom-rpmh-regulator.c +++ b/drivers/regulator/qcom-rpmh-regulator.c @@ -879,18 +879,14 @@ static int rpmh_regulator_probe(struct platform_device *pdev) static const struct of_device_id rpmh_regulator_match_table[] = { { - .compatible = "qcom,pm8998-rpmh-regulators", - .data = pm8998_vreg_data, - }, - { - .compatible = "qcom,pmi8998-rpmh-regulators", - .data = pmi8998_vreg_data, - }, - { .compatible = "qcom,pm8005-rpmh-regulators", .data = pm8005_vreg_data, }, { + .compatible = "qcom,pm8009-rpmh-regulators", + .data = pm8009_vreg_data, + }, + { .compatible = "qcom,pm8150-rpmh-regulators", .data = pm8150_vreg_data, }, @@ -899,8 +895,12 @@ static const struct of_device_id rpmh_regulator_match_table[] = { .data = pm8150l_vreg_data, }, { - .compatible = "qcom,pm8009-rpmh-regulators", - .data = pm8009_vreg_data, + .compatible = "qcom,pm8998-rpmh-regulators", + .data = pm8998_vreg_data, + }, + { + .compatible = "qcom,pmi8998-rpmh-regulators", + .data = pmi8998_vreg_data, }, {} }; |