From: Bjorn Andersson Date: Mon, 6 Apr 2015 23:33:59 +0000 (-0700) Subject: regulator: qcom: Rework to single platform device X-Git-Tag: omap-for-v4.2/o2_dc~165^2~1^5~1 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=087a1b5cdd555970feb8a340dc008b6914f05128;p=pandora-kernel.git regulator: qcom: Rework to single platform device Modeling the individual RPM resources as platform devices consumes at least 12-15kb of RAM, just to hold the platform_device structs. Rework this to instead have one device per pmic exposed by the RPM. With this representation we can more accurately define the input pins on the pmic and have the supply description match the data sheet. Suggested-by: Stephen Boyd Signed-off-by: Bjorn Andersson Reviewed-by: Stephen Boyd Signed-off-by: Mark Brown --- Reading git-diff-tree failed