From: Mark Brown Date: Tue, 3 Apr 2012 19:46:53 +0000 (+0100) Subject: regulator: core: Constify the regulator_desc passed in when registering X-Git-Tag: v3.5-rc1~177^2~58^3~52^2~14 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=65f26846b90611742f3b407cc538a1cad33abde8;p=pandora-kernel.git regulator: core: Constify the regulator_desc passed in when registering Drivers should be able to declare their descriptors const and the framework shouldn't ever be modifying the desciptor. Make the parameter and the pointer in regulator_dev const to enforce this. Signed-off-by: Mark Brown --- Reading git-diff-tree failed