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

Using the device_property interfaces allows the dw_mmc driver 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
Acked-by: Jaehoon Chung <jh80.chung@samsung.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/dw_mmc.c