From: Chanwoo Choi Date: Tue, 12 Aug 2014 01:15:39 +0000 (+0900) Subject: extcon: sm5502: Clean up codes by using checkpatch script X-Git-Tag: fixes-for-v3.18-merge-window~11^2~70^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fbae30d8dd35454bd4a55445d1bb51c620f8e646;p=pandora-kernel.git 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 --- Reading git-diff-tree failed