On Tue, Mar 25, 2014 at 12:44:13PM +0800, Axel Lin wrote: > With devm_kzalloc, the memory is automatically freed when spi_device detach from > the bus. Applied, thanks.