diff options
Diffstat (limited to 'drivers/spi')
-rw-r--r-- | drivers/spi/spi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/spi/spi.c b/drivers/spi/spi.c index 50f20f243981..da7e6225b8f6 100644 --- a/drivers/spi/spi.c +++ b/drivers/spi/spi.c | |||
@@ -1001,7 +1001,7 @@ static int spi_init_queue(struct spi_master *master) | |||
1001 | dev_name(&master->dev)); | 1001 | dev_name(&master->dev)); |
1002 | if (IS_ERR(master->kworker_task)) { | 1002 | if (IS_ERR(master->kworker_task)) { |
1003 | dev_err(&master->dev, "failed to create message pump task\n"); | 1003 | dev_err(&master->dev, "failed to create message pump task\n"); |
1004 | return -ENOMEM; | 1004 | return PTR_ERR(master->kworker_task); |
1005 | } | 1005 | } |
1006 | init_kthread_work(&master->pump_messages, spi_pump_messages); | 1006 | init_kthread_work(&master->pump_messages, spi_pump_messages); |
1007 | 1007 | ||