lkml.org 
[lkml]   [2011]   [Apr]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] regulator: Fix the argument of calling regulator_mode_constrain
On Fri, Apr 01, 2011 at 06:25:25PM +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'

Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com>


\
 
 \ /
  Last update: 2011-04-02 03:05    [W:0.035 / U:0.168 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site