[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date: Wed, 4 Apr 2012 10:45:24 +0100
From: Mark Brown <broonie@...nsource.wolfsonmicro.com>
To: Wolfram Sang <w.sang@...gutronix.de>
Cc: Heiko Stuebner <heiko@...ech.de>, Liam Girdwood <lrg@...com>,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH 2/2] regulator: gpio-regulator: Basic devm_kzalloc()
conversion
On Wed, Apr 04, 2012 at 08:50:15AM +0200, Wolfram Sang wrote:
> On Tue, Apr 03, 2012 at 11:23:09PM +0100, Mark Brown wrote:
> > There's some other allocations but they're not so trivial as they use
> > kmemdup() and kstrdup().
> What do we gain then? I wonder if it is worth fixing one occasion if we can't
> fix the others (yet).
I probably wouldn't have bothered if I'd noticed the other allocations
before I wrote the code but as I'd already written the code...
Download attachment "signature.asc" of type "application/pgp-signature" (837 bytes)
Powered by blists - more mailing lists