]> 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)
commitcd93ac8a98856e711609781b99c1e6adcd999c79
treeb1c71673f7473cd7a2ec8995214d15ba7df9f6fe
parentafa2f2e1cb44c7473ff5fc8f92773e28034f8830
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