]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
mmc: sdhci-msm: Remove NULL check from devm_of_qcom_ice_get()
authorManivannan Sadhasivam <manivannan.sadhasivam@oss.qualcomm.com>
Mon, 18 May 2026 13:52:20 +0000 (19:22 +0530)
committerBjorn Andersson <andersson@kernel.org>
Mon, 18 May 2026 14:43:25 +0000 (09:43 -0500)
commit2ccbb3fa5cf47d05849cf6722aad1b4cc14df6d9
tree400d0c72aed6bc9b9a7f3df4331cc1b21f9fe147
parentb9ab7217dd7d567c50311afa94d6d6746cb77e04
mmc: sdhci-msm: Remove NULL check from devm_of_qcom_ice_get()

Now since the devm_of_qcom_ice_get() API never returns NULL, remove the
NULL check and also simplify the error handling.

Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
Acked-by: Ulf Hansson <ulf.hansson@linaro.org>
Acked-by: Adrian Hunter <adrian.hunter@intel.com>
Tested-by: Sumit Garg <sumit.garg@oss.qualcomm.com> # OP-TEE as TZ
Acked-by: Sumit Garg <sumit.garg@oss.qualcomm.com>
Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@oss.qualcomm.com>
Link: https://lore.kernel.org/r/20260518-qcom-ice-fix-v7-4-2a595382185b@oss.qualcomm.com
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
drivers/mmc/host/sdhci-msm.c