]> asedeno.scripts.mit.edu Git - linux.git/commit
extcon: sm5502: Clean up codes by using checkpatch script
authorChanwoo Choi <cw00.choi@samsung.com>
Tue, 12 Aug 2014 01:15:39 +0000 (10:15 +0900)
committerChanwoo Choi <cw00.choi@samsung.com>
Mon, 22 Sep 2014 02:43:08 +0000 (11:43 +0900)
commitfbae30d8dd35454bd4a55445d1bb51c620f8e646
tree3088a00419a74d4709d0794685f2ebd45576b848
parentca2a07e45d1d3d31a0a85d2f63d81a897c610040
extcon: sm5502: Clean up codes by using checkpatch script

This patch just clean up codes by using checkpatch script and fix warning
message about if statement.

- the result of checkpatch script as following:
WARNING: void function return statements are not generally useful
+ return;
+}

WARNING: quoted string split across lines
+ dev_err(info->dev, "failed: irq request (IRQ: %d,"
+ " error :%d)\n", muic_irq->irq, ret);

- warning message about coding style.

drivers/extcon/extcon-sm5502.c:398 sm5502_muic_cable_handler()
warn: we tested 'attached' before and it was 'false'

Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
drivers/extcon/extcon-sm5502.c