[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20110523143323.GA17298@opensource.wolfsonmicro.com>
Date: Mon, 23 May 2011 22:33:26 +0800
From: Mark Brown <broonie@...nsource.wolfsonmicro.com>
To: Axel Lin <axel.lin@...il.com>
Cc: linux-kernel@...r.kernel.org, Liam Girdwood <lrg@...com>
Subject: Re: [PATCH v3] regulator: Fix _regulator_get_voltage if get_voltage
callback is NULL
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@...il.com>
Acked-by: Mark Brown <broonie@...nsource.wolfsonmicro.com>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists