Since clk_register_clkdev() is exported for modules the caller should get a
pointer to the allocated resources. Otherwise the memory leak is guaranteed on
the ->remove() stage.
The patch changes the prototype of the clk_register_clkdev() to return a
pointer to the allocated resources. The caller
Since clk_register_clkdev() is exported for modules the caller should get a
pointer to the allocated resources. Otherwise the memory leak is guaranteed on
the -remove() stage.
The patch changes the prototype of the clk_register_clkdev() to return a
pointer to the allocated resources. The caller
2 matches
Mail list logo