[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20120711174257.GN3938@opensource.wolfsonmicro.com>
Date: Wed, 11 Jul 2012 18:42:57 +0100
From: Mark Brown <broonie@...nsource.wolfsonmicro.com>
To: Krystian Garbaciak <krystian.garbaciak@...semi.com>
Cc: Liam Girdwood <lrg@...com>, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] regulator: Fix bug in regulator_mode_to_status() core
function.
On Wed, Jul 11, 2012 at 04:13:00PM +0100, Krystian Garbaciak wrote:
> Would it make more sense to have some special enum value for that case, let say
> there would be REGULATOR_STATUS_UNDEFINED?
> Returning 0 is interpreted as REGULATOR_STATUS_OFF outside the function.
> But it may change, if ever the enumeration changes.
That'd be fine.
Also, please do submit separate changes separately.
Download attachment "signature.asc" of type "application/pgp-signature" (837 bytes)
Powered by blists - more mailing lists