]> git.proxmox.com Git - mirror_ubuntu-focal-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)
commit6c56e7a0fff166904ce2715f7ab1746460c1f11b
treeb1c71673f7473cd7a2ec8995214d15ba7df9f6fe
parent6da15e96fb14e7428ecdc69306d8a3287296a968
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