]> git.baikalelectronics.ru Git - kernel.git/commit
mmc: sdhci-msm: drop redundant of_device_id entries
authorKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Thu, 14 Jul 2022 09:10:42 +0000 (11:10 +0200)
committerUlf Hansson <ulf.hansson@linaro.org>
Mon, 18 Jul 2022 11:30:00 +0000 (13:30 +0200)
commit0410609c82c5c7569114a146e38d743a068888ef
tree24eb6ded8f589d0c3af0b62b61a9ab20ce9ce681
parent3d8753482ea05a237eb0f2eb8d5cda784315731a
mmc: sdhci-msm: drop redundant of_device_id entries

This reverts three commits:
1. Revert "mmc: sdhci-msm: Add compatible string check for sdx65"
   This reverts commit af3963ade35b812b4cabfc1106864e46f5d50025.

2. Revert "mmc: sdhci-msm: Add compatible string check for sm8150"
   This reverts commit 11492f01edfe577acff4c2d2ddb1b95099fd501e.

3. Revert "mmc: sdhci-msm: Add SoC specific compatibles"
   This reverts commit 5f176e69c96d3aad4050b46fe618d129e116e4d1.

The oldest commit 5f176e69c96d ("mmc: sdhci-msm: Add SoC specific
compatibles") did not specify what benefits such multiple compatibles
bring, therefore assume there is none.  On the other hand such approach
brings a lot of churn to driver maintenance by expecting commit for
every new compatible, even though it is already covered by the fallback.

There is really no sense in duplicating of_device_id for each
variant, which is already covered by generic compatible fallback
qcom,sdhci-msm-v4 or qcom,sdhci-msm-v5.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Reviewed-by: Douglas Anderson <dianders@chromium.org>
Link: https://lore.kernel.org/r/20220714091042.22287-4-krzysztof.kozlowski@linaro.org
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/sdhci-msm.c