]> git.baikalelectronics.ru Git - kernel.git/commit
spi: dw-pci: remove free for resources allocated with devm_*
authorWei Yongjun <yongjun_wei@trendmicro.com.cn>
Tue, 7 Jan 2014 13:36:24 +0000 (21:36 +0800)
committerMark Brown <broonie@linaro.org>
Tue, 7 Jan 2014 15:47:18 +0000 (15:47 +0000)
commit62b226064764ce3542c987d5ec171897aeefbaf2
tree80ca7d5d7cdd96fc85fddc774c2ba574c919366d
parent441ec008e6435470321967ff863822d09d5181bb
spi: dw-pci: remove free for resources allocated with devm_*

It's not necessary to free resources allocated with devm_*
and free them may lead to double free.

Fixes: 8b53f2d4fd58 ('spi: dw: use managed resources')
Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
Signed-off-by: Mark Brown <broonie@linaro.org>
drivers/spi/spi-dw-pci.c