Thread (43 messages) 43 messages, 7 authors, 2012-08-01

[06/10,V2] spi: Add SPI driver for mx233/mx28

From: Shawn Guo <hidden>
Date: 2012-08-01 07:50:12
Also in: linux-spi

On Tue, Jul 31, 2012 at 11:56:50PM -0700, Guenter Roeck wrote:
Guess we are in violent agreement. The sequence would then either be
	master = spi_alloc_device();
The discussion is around spi_alloc_master rather than spi_alloc_device,
isn't it?

Regards,
Shawn
	...
	spi_master_put(master);
or
	master = spi_alloc_device();
	...
	kfree(master);

which makes sense to me. Question still is why most drivers neither call kfree()
nor spi_master_put() in the remove function.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help