mmc: Use of_property_read_bool() for boolean properties
authorRob Herring <robh@kernel.org>
Fri, 10 Mar 2023 14:47:14 +0000 (08:47 -0600)
committerUlf Hansson <ulf.hansson@linaro.org>
Thu, 23 Mar 2023 10:30:20 +0000 (11:30 +0100)
commitca6b5fe277e91ebca5101dc00c0e26755f0ed6c4
treed01d9d6aa85069d80500d6c9eac3738c74bbbcbe
parente37556d947794c0c7730460a3cb029c700fe70cb
mmc: Use of_property_read_bool() for boolean properties

It is preferred to use typed property access functions (i.e.
of_property_read_<type> functions) rather than low-level
of_get_property/of_find_property functions for reading properties.
Convert reading boolean properties to to of_property_read_bool().

Signed-off-by: Rob Herring <robh@kernel.org>
Link: https://lore.kernel.org/r/20230310144715.1543836-1-robh@kernel.org
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/mmci.c
drivers/mmc/host/omap_hsmmc.c
drivers/mmc/host/sdhci-esdhc-imx.c
drivers/mmc/host/sdhci-pxav2.c
drivers/mmc/host/sdhci-s3c.c
drivers/mmc/host/tmio_mmc_core.c
drivers/mmc/host/wmt-sdmmc.c