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)
commit136c8bf374dd9aef0f98e5c26d1cba5b066e2443
tree80ca7d5d7cdd96fc85fddc774c2ba574c919366d
parentfa4934a02adaac9d5bbd2b9ac818c523bf2ea9aa
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: 04f421e7b0b1 ('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