Messages in this thread | | | Date | Wed, 4 Apr 2012 10:45:24 +0100 | From | Mark Brown <> | 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... [unhandled content-type:application/pgp-signature] | |