summaryrefslogtreecommitdiffstats
path: root/drivers/extcon/extcon-max8997.c
diff options
context:
space:
mode:
authorChanwoo Choi2015-03-06 17:41:36 +0100
committerChanwoo Choi2015-03-07 14:58:28 +0100
commit34825e511971e193db16a96350faeb60eff0d842 (patch)
tree058226d06629b1ee9fed1523260ffb5ed9b27d47 /drivers/extcon/extcon-max8997.c
parentextcon: Rename extcon core driver (diff)
downloadkernel-qcow2-linux-34825e511971e193db16a96350faeb60eff0d842.tar.gz
kernel-qcow2-linux-34825e511971e193db16a96350faeb60eff0d842.tar.xz
kernel-qcow2-linux-34825e511971e193db16a96350faeb60eff0d842.zip
extcon: Fix the checkpatch warning
This patch fixes the checkpatch warning about coding style. Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
Diffstat (limited to 'drivers/extcon/extcon-max8997.c')
-rw-r--r--drivers/extcon/extcon-max8997.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/drivers/extcon/extcon-max8997.c b/drivers/extcon/extcon-max8997.c
index fc1678fa95c4..5774e56c6422 100644
--- a/drivers/extcon/extcon-max8997.c
+++ b/drivers/extcon/extcon-max8997.c
@@ -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;
}