From: Chris Ball Date: Wed, 19 Sep 2012 14:27:04 +0000 (+0800) Subject: mmc: core: Replace MMC_CAP2_BROKEN_VOLTAGE with test for fixed regulator X-Git-Tag: v3.7-rc1~69^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9cde5b7a49a88939d648c361ec938fa8a633a045;p=pandora-kernel.git mmc: core: Replace MMC_CAP2_BROKEN_VOLTAGE with test for fixed regulator Before this patch, we were using MMC_CAP2_BROKEN_VOLTAGE as a way to avoid calling regulator_set_voltage() on a fixed regulator, but that's just duplicating information that already exists -- we should test whether the regulator is fixed directly, instead of via a capability. This patch implements that test. We can't reclaim the capability bit just yet, since there are still boards in arch/arm/ that reference it; those references can be removed now. Reported-by: Tomasz Figa Signed-off-by: Chris Ball --- Reading git-diff-tree failed