Messages in this thread | | | Date | Tue, 10 Apr 2012 11:06:05 +0100 | From | Mark Brown <> | Subject | Re: [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] | |