Re: [PATCH] spi: coldfire-qspi: fix error return code inmcfqspi_probe()

From: Mark Brown
Date: Thu May 16 2013 - 14:22:33 EST


On Thu, May 16, 2013 at 01:11:32PM +0800, Wei Yongjun wrote:
> From: Wei Yongjun <yongjun_wei@xxxxxxxxxxxxxxxxx>
>
> If pdev->dev.platform_data is not set, mcfqspi_probe() will return 0
> and release all the resources, in this case, we should return a error
> code instead of 0.

Applied, thanks.

Attachment: signature.asc
Description: Digital signature