[PATCH 05/11] clk: Versatile Express clock generators ("osc") driver

Pawel Moll pawel.moll at arm.com
Wed Sep 12 12:56:38 EDT 2012

On Tue, 2012-09-11 at 19:00 +0100, Linus Walleij wrote:
> >> > +       osc = kzalloc(sizeof(*osc), GFP_KERNEL);
> Can't you just use devm_kzalloc(&vecdev->dev, ...) and be done with it?

Eh. It was devm_kzalloc() initially, then the driver became an "early"
one and I could use devm_*(). I actually made it devm_kzalloc() again,
hope it will survive like this to v2.


More information about the linux-arm-kernel mailing list