lkml.org 
[lkml]   [2012]   [Apr]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] regulator: twl-regulator: Simplify the code matching regulator id
On Mon, Apr 09, 2012 at 10:32:49PM +0800, Axel Lin wrote:
> This patch makes the code easier to read.
>
> Also add checking the case when no desc id is matched. This is required because
> if no desc id is matched, the poiner info is pointed to twl_of_match[i].data
> which may be not NULL. Checking info is NULL or not latter does not catch the
> error.

Applied, thanks.
[unhandled content-type:application/pgp-signature]
\
 
 \ /
  Last update: 2012-04-10 12:09    [W:0.026 / U:1.272 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site