From: Laxman Dewangan Date: Mon, 2 Jan 2012 07:38:45 +0000 (+0530) Subject: regulator: Enable supply regulator if child rail is enabled. X-Git-Tag: v3.3-rc1~126^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b2296bd43e781976743354c668a356b0df98e1da;p=pandora-kernel.git regulator: Enable supply regulator if child rail is enabled. During regulator_register, the rail is set on the provided machine constraints and if it is enabled then it is also require to enable the supply regulator. This will make sure that: 1. Proper reference count for supply regulator to be maintain. 2. Supply regulator should be enable when given rail is enabled. Signed-off-by: Laxman Dewangan Signed-off-by: Mark Brown --- Reading git-diff-tree failed