[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Wed, 4 Apr 2012 17:37:14 +0530
From: Laxman Dewangan <ldewangan@...dia.com>
To: Axel Lin <axel.lin@...il.com>
CC: "linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
Liam Girdwood <lrg@...com>,
Mark Brown <broonie@...nsource.wolfsonmicro.com>
Subject: Re: [PATCH] regulator: Fix rc5t583_regulator_probe error handling
On Wednesday 04 April 2012 05:22 PM, Axel Lin wrote:
> 1. regulator_register returns ERR_PTR on error, thus use IS_ERR to check the
> return value.
> 2. Fix off-by-one for unregistering the registered regulator.
> Current code does not unregister regs[0].rdev in clean_exit.
>
> Signed-off-by: Axel Lin<axel.lin@...il.com>
> ---
Acked-by: Laxman Dewangan <ldewangan@...dia.com>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists