]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 11 Aug 2017 15:33:50 +0000 (08:33 -0700)
commit7386cdc97eb0988ca160ede8c38a6482bdea9b7d
tree28693f6f1a2d6d2ac927c9b7bbcc79d41261f1b6
parent43f799ab1f7290cff684806875ac6ec8dac9686a
mmc: core: Use device_property_read instead of of_property_read

commit 73a47a9bb3e2c4a9c553c72456e63ab991b1a4d9 upstream.

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>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/mmc/core/host.c