Axel Lin c63f5da008 spi: dw: Don't call kfree for memory allocated by devm_kzalloc
With devm_kzalloc, the memory is automatically freed when spi_device detach from
the bus.

Fixes: commit 43f627ac9de42 (spi: dw: fix memory leak on error path)
Signed-off-by: Axel Lin <axel.lin@ingics.com>
Acked-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Mark Brown <broonie@linaro.org>
Cc: stabe@vger.kernel.org
2014-03-28 11:48:55 +00:00
..
2013-12-17 22:53:36 +00:00
2013-11-14 11:04:38 -08:00
2013-12-31 12:30:18 +00:00
2013-08-29 13:56:23 +01:00
2013-12-09 17:31:38 +00:00
2014-01-13 11:30:41 +00:00
2014-01-25 13:20:36 -08:00
2014-01-25 13:20:36 -08:00
2014-01-25 13:20:36 -08:00
2013-08-29 13:56:23 +01:00
2014-01-25 13:20:36 -08:00
2013-10-15 13:15:52 +01:00