lkml.org 
[lkml]   [2011]   [May]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH] regulator: Fix desc_id for tps65023/6507x/65910
From
Date
On Thu, 2011-05-12 at 13:47 +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.
>
> Signed-off-by: Axel Lin <axel.lin@gmail.com>
> Cc: Anuj Aggarwal <anuj.aggarwal@ti.com>
> Cc: Graeme Gregory <gg@slimlogic.co.uk>


Applied.

Liam



\
 
 \ /
  Last update: 2011-05-13 14:37    [W:0.042 / U:0.784 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site