Re: [PATCH v3] regulator: Fix _regulator_get_voltage if get_voltagecallback is NULL
From: Liam Girdwood
Date: Tue May 24 2011 - 05:40:17 EST
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@xxxxxxxxx>
>
> Acked-by: Mark Brown <broonie@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
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/