From: Charles Keepax Date: Tue, 15 Oct 2013 19:14:21 +0000 (+0100) Subject: mfd: Allow mapping regulator supplies to MFD device from children X-Git-Tag: omap-for-v3.13/fixes-for-merge-window-take2~16^2~23^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7fcd427465e710d0c4e2737d2f02b2ffa14b9bb3;p=pandora-kernel.git mfd: Allow mapping regulator supplies to MFD device from children Occasionally, it is useful to map supplies from a child device onto the MFD device. A typical usecase for this would be if the MFD device is represented as a single node in device tree. All supplies will be defined in device tree as existing on the MFD device. When a child depends on frameworks which might have no knowledge of MFD to lookup supplies on its behalf the supply will not be found. This patch adds a list of supplies that should be looked up on the parent rather than the child as part of the mfd_cell structure. Signed-off-by: Charles Keepax Acked-by: Lee Jones Signed-off-by: Mark Brown --- Reading git-diff-tree failed