Wei Yongjun e322ce9365 spi: spi-mxs: fix reference leak to master in mxs_spi_remove()
Once a spi_master_get() call succeeds, we need an additional
spi_master_put() call to free the memory, otherwise we will
leak a reference to master. Fix by removing the unnecessary
spi_master_get() call.

Fixes: 33e195acf268 ('spi: mxs: use devm_spi_register_master()')
Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
Signed-off-by: Mark Brown <broonie@linaro.org>
2013-11-18 11:29:30 +00:00
..
2013-10-11 07:31:47 +05:30
2013-09-03 11:37:15 -07:00
2013-10-07 17:08:26 +02:00
2013-09-09 16:35:29 -07:00
2013-10-16 03:17:47 +01:00
2013-09-06 13:30:06 -07:00
2013-09-13 15:09:52 +02:00
2013-09-13 15:09:52 +02:00
2013-09-06 13:21:16 -07:00
2013-10-16 13:22:16 -07:00
2013-09-03 11:37:15 -07:00
2013-09-26 15:33:23 +03:00
2013-09-25 15:50:53 -07:00