From: Axel Lin Date: Fri, 1 Apr 2011 10:25:25 +0000 (+0800) Subject: regulator: Fix the argument of calling regulator_mode_constrain X-Git-Tag: v3.0-rc1~48^2~34 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=22c51b47aa7cded7e4768540ebbbfddc91e31d90;p=pandora-kernel.git regulator: Fix the argument of calling regulator_mode_constrain The second parameter of regulator_mode_constrain takes a pointer. This patch fixes below warning: drivers/regulator/core.c: In function 'regulator_set_mode': drivers/regulator/core.c:2014: warning: passing argument 2 of 'regulator_mode_constrain' makes pointer from integer without a cast drivers/regulator/core.c:200: note: expected 'int *' but argument is of type 'unsigned int' Signed-off-by: Axel Lin Acked-by: Mark Brown Signed-off-by: Liam Girdwood --- Reading git-diff-tree failed