mmc: core: Use device_property_read instead of of_property_read
authorDavid Woods <dwoods@mellanox.com>
Fri, 26 May 2017 21:53:21 +0000 (17:53 -0400)
committerUlf Hansson <ulf.hansson@linaro.org>
Tue, 20 Jun 2017 08:30:30 +0000 (10:30 +0200)
commit73a47a9bb3e2c4a9c553c72456e63ab991b1a4d9
treee834892fa417ff238b9216284ee2b4682d9be2a3
parent852ff5fea9eb6a9799f1881d6df2cd69a9e6eed5
mmc: core: Use device_property_read instead of of_property_read

Using the device_property interfaces allows mmc drivers to work
on platforms which run on either device tree or ACPI.

Signed-off-by: David Woods <dwoods@mellanox.com>
Reviewed-by: Chris Metcalf <cmetcalf@mellanox.com>
Cc: stable@vger.linux.org
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/core/host.c