extcon: Fix the checkpatch warning
[firefly-linux-kernel-4.4.55.git] / drivers / extcon / extcon-max8997.c
index fc1678fa95c4cd258401a1eee871c8ed8ee6f59f..5774e56c64222a43f21eb28e9baeecc79bc176e1 100644 (file)
@@ -579,8 +579,6 @@ static void max8997_muic_irq_work(struct work_struct *work)
                dev_err(info->dev, "failed to handle MUIC interrupt\n");
 
        mutex_unlock(&info->mutex);
-
-       return;
 }
 
 static irqreturn_t max8997_muic_irq_handler(int irq, void *data)
@@ -689,8 +687,7 @@ static int max8997_muic_probe(struct platform_device *pdev)
                                muic_irq->name, info);
                if (ret) {
                        dev_err(&pdev->dev,
-                               "failed: irq request (IRQ: %d,"
-                               " error :%d)\n",
+                               "failed: irq request (IRQ: %d, error :%d)\n",
                                muic_irq->irq, ret);
                        goto err_irq;
                }