Thread (36 messages) 36 messages, 7 authors, 2012-09-19

Lifecycle

  1. Posted pawel.moll@arm.com (Pawel Moll)

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

From: Pawel Moll <hidden>
Date: 2012-09-12 16:56:38

On Tue, 2012-09-11 at 19:00 +0100, Linus Walleij wrote:
quoted
quoted
quoted
+       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.

Pawe?
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help