mmc: Use of_property_present() for non-boolean properties
authorRob Herring (Arm) <robh@kernel.org>
Thu, 9 Jan 2025 15:52:54 +0000 (09:52 -0600)
committerUlf Hansson <ulf.hansson@linaro.org>
Mon, 13 Jan 2025 15:32:56 +0000 (16:32 +0100)
commit57a217f193f3b77161a307dd9963ac19d66a17d1
treecec569411ccd225999172a1630e4f9cae9411d68
parent285035a8dac5777422268176e373161618ec00b3
mmc: Use of_property_present() for non-boolean properties

The use of of_property_read_bool() for non-boolean properties is
deprecated in favor of of_property_present() when testing for property
presence.

Reviewed-by: Haibo Chen <haibo.chen@nxp.com>
Reviewed-by: Dragan Simic <dsimic@manjaro.org>
Acked-by: Adrian Hunter <adrian.hunter@intel.com>
Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
Link: https://lore.kernel.org/all/20250109155255.3438450-1-robh@kernel.org/
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/mxcmmc.c
drivers/mmc/host/sdhci-esdhc-imx.c