From patchwork Mon Aug 5 09:02:04 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sachin Kamat X-Patchwork-Id: 18770 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-qc0-f200.google.com (mail-qc0-f200.google.com [209.85.216.200]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id DC97A2486D for ; Mon, 5 Aug 2013 09:19:01 +0000 (UTC) Received: by mail-qc0-f200.google.com with SMTP id n1sf4121003qcx.7 for ; Mon, 05 Aug 2013 02:19:01 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:x-beenthere:x-forwarded-to:x-forwarded-for :delivered-to:from:to:cc:subject:date:message-id:x-mailer :in-reply-to:references:x-gm-message-state:x-removed-original-auth :x-original-sender:x-original-authentication-results:precedence :mailing-list:list-id:x-google-group-id:list-post:list-help :list-archive:list-unsubscribe; bh=LTl/rxfyUmYfwYQu09tgerfsMsFSqljkDNIoTZif6Vw=; b=gdcsyJynjzvydr9isWO/21oIDmirV7wajfX5Y/5PoElConzQgYaMkKZ2wWRNMJty+B tjR31kAkkukZX7ug2bTJsf55U73A4VrOF19jHLzFUMNnK9wjQvQltZlLf6g827wWpkc/ 79I4c6nt+BljUukRnM0yn6uU2KZE0/SAwMwHfUtj6BPMrmDMXoPNaz0LMoKfytAr7Q/k FI332VfRYOXJqO9opAapQNIubAYt+Ot0HEESFVNVhCii3f+1vUSotOfI368xAXtAw6ty ldAdkOZaYNfFb57/DMzIQ+Iy9EuSOJbS2oRTpJshcki5qSxXITr193fjsfYkU2gJHR+O TAVw== X-Received: by 10.236.137.35 with SMTP id x23mr8228616yhi.7.1375694341706; Mon, 05 Aug 2013 02:19:01 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.49.58.4 with SMTP id m4ls2428046qeq.52.gmail; Mon, 05 Aug 2013 02:19:01 -0700 (PDT) X-Received: by 10.52.115.129 with SMTP id jo1mr4787633vdb.63.1375694341606; Mon, 05 Aug 2013 02:19:01 -0700 (PDT) Received: from mail-vb0-f42.google.com (mail-vb0-f42.google.com [209.85.212.42]) by mx.google.com with ESMTPS id of1si4760968vcb.129.2013.08.05.02.19.01 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 05 Aug 2013 02:19:01 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.212.42 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=209.85.212.42; Received: by mail-vb0-f42.google.com with SMTP id e12so2587141vbg.29 for ; Mon, 05 Aug 2013 02:19:01 -0700 (PDT) X-Received: by 10.52.26.76 with SMTP id j12mr618587vdg.48.1375694341474; Mon, 05 Aug 2013 02:19:01 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patches@linaro.org Received: by 10.221.11.8 with SMTP id pc8csp77764vcb; Mon, 5 Aug 2013 02:19:00 -0700 (PDT) X-Received: by 10.68.27.37 with SMTP id q5mr21390886pbg.145.1375694340471; Mon, 05 Aug 2013 02:19:00 -0700 (PDT) Received: from mail-pd0-f169.google.com (mail-pd0-f169.google.com [209.85.192.169]) by mx.google.com with ESMTPS id tw4si16374469pbc.241.2013.08.05.02.19.00 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 05 Aug 2013 02:19:00 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.192.169 is neither permitted nor denied by best guess record for domain of sachin.kamat@linaro.org) client-ip=209.85.192.169; Received: by mail-pd0-f169.google.com with SMTP id y11so3018695pdj.14 for ; Mon, 05 Aug 2013 02:19:00 -0700 (PDT) X-Received: by 10.66.157.68 with SMTP id wk4mr24412568pab.72.1375694340089; Mon, 05 Aug 2013 02:19:00 -0700 (PDT) Received: from linaro.sisodomain.com ([115.113.119.130]) by mx.google.com with ESMTPSA id dc5sm26289997pbc.37.2013.08.05.02.18.48 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 05 Aug 2013 02:18:59 -0700 (PDT) From: Sachin Kamat To: linux-kernel@vger.kernel.org Cc: cw00.choi@samsung.com, myungjoo.ham@samsung.com, sachin.kamat@linaro.org, patches@linaro.org Subject: [PATCH 2/2] extcon: max77693: Fix checkpatch warning Date: Mon, 5 Aug 2013 14:32:04 +0530 Message-Id: <1375693324-30782-2-git-send-email-sachin.kamat@linaro.org> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1375693324-30782-1-git-send-email-sachin.kamat@linaro.org> References: <1375693324-30782-1-git-send-email-sachin.kamat@linaro.org> X-Gm-Message-State: ALoCoQm3KnSTcoIGMXyAv/gkFkbHnfgpccWXTgPEmRfQ/MN5Fhm71AKfndqSYz7wszny2MTcwmTJ X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: sachin.kamat@linaro.org X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.212.42 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Precedence: list Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org List-ID: X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , Fixes the following warning: WARNING: space prohibited before semicolon Signed-off-by: Sachin Kamat --- drivers/extcon/extcon-max77693.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/extcon/extcon-max77693.c b/drivers/extcon/extcon-max77693.c index b56bdaa..4849ea1 100644 --- a/drivers/extcon/extcon-max77693.c +++ b/drivers/extcon/extcon-max77693.c @@ -953,7 +953,7 @@ static void max77693_muic_irq_work(struct work_struct *work) mutex_lock(&info->mutex); - for (i = 0 ; i < ARRAY_SIZE(muic_irqs) ; i++) + for (i = 0; i < ARRAY_SIZE(muic_irqs); i++) if (info->irq == muic_irqs[i].virq) irq_type = muic_irqs[i].irq; @@ -1188,7 +1188,7 @@ static int max77693_muic_probe(struct platform_device *pdev) num_init_data = ARRAY_SIZE(default_init_data); } - for (i = 0 ; i < num_init_data ; i++) { + for (i = 0; i < num_init_data; i++) { enum max77693_irq_source irq_src = MAX77693_IRQ_GROUP_NR;