]> git.baikalelectronics.ru Git - kernel.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>
Sun, 24 Feb 2013 19:37:19 +0000 (14:37 -0500)
commitdcb78a77e17b941b471cfbff46a743cbaf4c2b3d
treeb1c71673f7473cd7a2ec8995214d15ba7df9f6fe
parentd8a0d41548d60d4225f2a9e39bd8040bcf9693e8
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