Re: [patch] power: supply: lp8788: remove an unneeded NULL check

From: Kim, Milo
Date: Sun Oct 16 2016 - 20:46:17 EST


On 10/14/2016 4:33 PM, Dan Carpenter wrote:
We checked that "pdata->chg_params" is non-NULL earlier in this function
so when we add "i" to it, it's still non-NULL.

Signed-off-by: Dan Carpenter <dan.carpenter@xxxxxxxxxx>

Acked-by: Milo Kim <milo.kim@xxxxxx>

Thanks for catching this.

Best regards,
Milo