[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date: Wed, 4 Apr 2012 22:14:15 +0100
From: Mark Brown <broonie@...nsource.wolfsonmicro.com>
To: Axel Lin <axel.lin@...il.com>
Cc: linux-kernel@...r.kernel.org,
Laxman Dewangan <ldewangan@...dia.com>,
Liam Girdwood <lrg@...com>
Subject: Re: [PATCH] regulator: Fix rc5t583_regulator_probe error handling
On Wed, Apr 04, 2012 at 07:52:35PM +0800, 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.
Applied, thanks.
Download attachment "signature.asc" of type "application/pgp-signature" (837 bytes)
Powered by blists - more mailing lists