]> git.baikalelectronics.ru Git - kernel.git/commit
mmc: sdhci-pltfm: Use of_property_read_u32 instead of open-coding it
authorTobias Klauser <tklauser@distanz.ch>
Thu, 17 Sep 2015 13:09:54 +0000 (15:09 +0200)
committerUlf Hansson <ulf.hansson@linaro.org>
Mon, 26 Oct 2015 14:59:57 +0000 (15:59 +0100)
commit86d1adf8a489ccd3edab222f6ed0005f2efcfafb
treec84f31e8bd21af3fd4e96b60a4635c47e70c8e97
parent72aa8cfbce3bfbed50e61c578df224ed948ea6f8
mmc: sdhci-pltfm: Use of_property_read_u32 instead of open-coding it

Use of_property_read_u32 instead of of_get_property with return value
checks and endianness conversion.

Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/sdhci-pltfm.c