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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 11 Aug 2017 15:49:31 +0000 (08:49 -0700)
commitbaf4ad0e51620f88216a6b11cdc868ae861983a9
tree277cce9ee02cf1b5c837dd22cab7bb1b75daa205
parentbdabf097f05b9ef78c58622e3dfdec39b11a2ee5
mmc: dw_mmc: Use device_property_read instead of of_property_read

commit 852ff5fea9eb6a9799f1881d6df2cd69a9e6eed5 upstream.

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>
Acked-by: Jaehoon Chung <jh80.chung@samsung.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/mmc/host/dw_mmc.c