Re: [PATCH 2/2] regulator: gpio-regulator: Basic devm_kzalloc()conversion
From: Mark Brown
Date: Wed Apr 04 2012 - 05:45:33 EST
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...
Attachment:
signature.asc
Description: Digital signature