Re: [PATCH] regulator: 88pm800: Fix checking whether num_regulatoris valid

From: Mark Brown
Date: Tue Aug 13 2013 - 06:19:42 EST


On Sun, Aug 04, 2013 at 09:23:28AM +0800, Axel Lin wrote:
> The code to check whether num_regulator is valid is wrong because it should
> iterate all array entries rather than break from the for loop if
> pdata->regulators[i] is NULL.

Applied, thanks.

Attachment: signature.asc
Description: Digital signature