diff options
| -rw-r--r-- | drivers/spi/spi-mt65xx.c | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/drivers/spi/spi-mt65xx.c b/drivers/spi/spi-mt65xx.c index a6032d44771b..8a3c00c3af42 100644 --- a/drivers/spi/spi-mt65xx.c +++ b/drivers/spi/spi-mt65xx.c @@ -1159,7 +1159,7 @@ static int mtk_spi_probe(struct platform_device *pdev)  	host = devm_spi_alloc_host(dev, sizeof(*mdata));  	if (!host) -		return dev_err_probe(dev, -ENOMEM, "failed to alloc spi host\n"); +		return -ENOMEM;  	host->auto_runtime_pm = true;  	host->dev.of_node = dev->of_node; | 
