diff options
Diffstat (limited to 'drivers/mfd')
-rw-r--r-- | drivers/mfd/ezx-pcap.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/mfd/ezx-pcap.c b/drivers/mfd/ezx-pcap.c index d283d77937b9..c2b698d69a93 100644 --- a/drivers/mfd/ezx-pcap.c +++ b/drivers/mfd/ezx-pcap.c | |||
@@ -465,6 +465,7 @@ static int __devinit ezx_pcap_probe(struct spi_device *spi) | |||
465 | pcap->irq_base = pdata->irq_base; | 465 | pcap->irq_base = pdata->irq_base; |
466 | pcap->workqueue = create_singlethread_workqueue("pcapd"); | 466 | pcap->workqueue = create_singlethread_workqueue("pcapd"); |
467 | if (!pcap->workqueue) { | 467 | if (!pcap->workqueue) { |
468 | ret = -ENOMEM; | ||
468 | dev_err(&spi->dev, "cant create pcap thread\n"); | 469 | dev_err(&spi->dev, "cant create pcap thread\n"); |
469 | goto free_pcap; | 470 | goto free_pcap; |
470 | } | 471 | } |