[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20110512063025.GC15372@opensource.wolfsonmicro.com>
Date: Thu, 12 May 2011 08:30:25 +0200
From: Mark Brown <broonie@...nsource.wolfsonmicro.com>
To: Axel Lin <axel.lin@...il.com>
Cc: linux-kernel@...r.kernel.org, Anuj Aggarwal <anuj.aggarwal@...com>,
Graeme Gregory <gg@...mlogic.co.uk>,
Liam Girdwood <lrg@...mlogic.co.uk>
Subject: Re: [PATCH] regulator: Fix desc_id for tps65023/6507x/65910
On Thu, May 12, 2011 at 01:47:50PM +0800, Axel Lin wrote:
> The desc_id variable should not be a static variable.
>
> The rest of the code assumes the desc_id must less than TPSxxxxx_NUM_REGULATOR.
> If we set desc_id to be a static variable, checking the return value of
> rdev_get_id() may return error.
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