From: Guennadi Liakhovetski Date: Tue, 19 Jun 2012 15:43:56 +0000 (+0200) Subject: regulator: support multiple dummy fixed regulators X-Git-Tag: v3.6-rc1~63^2~2^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dfad84aeab5f71b33a12e6803a809f698bdef5a2;p=pandora-kernel.git regulator: support multiple dummy fixed regulators Currently regulator_register_fixed() uses a constant name to register a fixed dummy regulator. This is sufficient in principle, since there is no reason to register multiple such regulators. The user can simply supply all consumers in one array and use it to initialise such a regulator. However, in some cases it can be convenient to register multiple such regulators. This is also a prerequisite for the upcoming patch, that will add a voltage parameter to this function. The original function is provided as a wrapper macro. Signed-off-by: Guennadi Liakhovetski Signed-off-by: Mark Brown --- Reading git-diff-tree failed