lkml.org 
[lkml]   [2011]   [May]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v3] regulator: Fix _regulator_get_voltage if get_voltage callback is NULL
On 23/05/11 15:33, Mark Brown wrote:
> On Mon, May 23, 2011 at 08:08:10PM +0800, Axel Lin wrote:
>> In the case of get_voltage callback is NULL, current implementation in
>> _regulator_get_voltage will return -EINVAL.
>>
>> Also returns proper error if ret is negative value.
>>
>> Signed-off-by: Axel Lin <axel.lin@gmail.com>
>
> Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com>

Applied.

Thanks

Liam


\
 
 \ /
  Last update: 2011-05-24 11:43    [W:0.042 / U:92.984 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site