]> git.karo-electronics.de Git - karo-tx-linux.git/commit
mmc: provide a standard MMC device-tree binding parser centrally
authorGuennadi Liakhovetski <g.liakhovetski@gmx.de>
Sat, 16 Feb 2013 15:21:16 +0000 (16:21 +0100)
committerChris Ball <cjb@laptop.org>
Mon, 18 Feb 2013 13:07:28 +0000 (08:07 -0500)
commita4d8720938346e7316a16fb2dd9a8e5696a2587f
treeb1c71673f7473cd7a2ec8995214d15ba7df9f6fe
parenta61b05d64c4989139e4240779a27077418b1f080
mmc: provide a standard MMC device-tree binding parser centrally

MMC defines a number of standard DT bindings. Having each driver parse
them individually adds code redundancy and is error prone. Provide a
standard function to unify the parsing. After all drivers are converted
to using it instead of their own parsers, this function can be integrated
into mmc_alloc_host().

Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: Chris Ball <cjb@laptop.org>
drivers/mmc/core/host.c
include/linux/mmc/host.h