Re: [PATCH] regulator: Fix the argument of callingregulator_mode_constrain

From: Liam Girdwood
Date: Tue Apr 05 2011 - 05:07:33 EST


On Fri, 2011-04-01 at 18:25 +0800, Axel Lin wrote:
> 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 <axel.lin@xxxxxxxxx>

Applied.

Thanks

Liam


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/