From patchwork Wed Nov 21 04:34:58 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sachin Kamat X-Patchwork-Id: 13019 Return-Path: X-Original-To: patchwork@peony.canonical.com Delivered-To: patchwork@peony.canonical.com Received: from fiordland.canonical.com (fiordland.canonical.com [91.189.94.145]) by peony.canonical.com (Postfix) with ESMTP id BE4D723DFE for ; Wed, 21 Nov 2012 04:41:20 +0000 (UTC) Received: from mail-ia0-f180.google.com (mail-ia0-f180.google.com [209.85.210.180]) by fiordland.canonical.com (Postfix) with ESMTP id 6E19AA192B8 for ; Wed, 21 Nov 2012 04:41:20 +0000 (UTC) Received: by mail-ia0-f180.google.com with SMTP id t4so2240665iag.11 for ; Tue, 20 Nov 2012 20:41:19 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-forwarded-to:x-forwarded-for:delivered-to:received-spf:from:to:cc :subject:date:message-id:x-mailer:in-reply-to:references :x-gm-message-state; bh=PMa8hez7BHkJ5WI7903ri938lbUvS/CnyXlQ+9GyfOs=; b=LJDGEkm0aNALCl9A6Haufj/S3FrsOV7mJH17L51aJMvLV6zz2lqZr+P1enukEbLMFV 9k/gIenxRHXuNXu/ryfWoDgwvwMtmCBwTbMz4jWPLztkcvhA0Ws8txF3YDfyL7NBv1yb Sbf4Q4elu1ih8DXz/r1+yubgKofg1KOhz3LRMXLc9+Gepdw3BiS45mlpAtOwnRMZ/Zcc jgstqOsV523aIgr6kMsVL2SLkpTZ+PDO+hq7hFgammjBVeedJkhPZs8DMJIliJbOlVCo GRBihCq02RBM1KnPyuduQEyGoQZ/sUm8LHjO4xHFMbVOY2bbFYwVKmDkIg2x7FzBdxZp 8cYg== Received: by 10.50.186.199 with SMTP id fm7mr12242707igc.62.1353472879707; Tue, 20 Nov 2012 20:41:19 -0800 (PST) X-Forwarded-To: linaro-patchwork@canonical.com X-Forwarded-For: patch@linaro.org linaro-patchwork@canonical.com Delivered-To: patches@linaro.org Received: by 10.50.67.148 with SMTP id n20csp431875igt; Tue, 20 Nov 2012 20:41:19 -0800 (PST) Received: by 10.66.79.167 with SMTP id k7mr14532888pax.24.1353472878890; Tue, 20 Nov 2012 20:41:18 -0800 (PST) Received: from mail-da0-f45.google.com (mail-da0-f45.google.com [209.85.210.45]) by mx.google.com with ESMTPS id ka8si21165073pbc.5.2012.11.20.20.41.18 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 20 Nov 2012 20:41:18 -0800 (PST) Received-SPF: neutral (google.com: 209.85.210.45 is neither permitted nor denied by best guess record for domain of sachin.kamat@linaro.org) client-ip=209.85.210.45; Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.210.45 is neither permitted nor denied by best guess record for domain of sachin.kamat@linaro.org) smtp.mail=sachin.kamat@linaro.org Received: by mail-da0-f45.google.com with SMTP id w4so684525dam.18 for ; Tue, 20 Nov 2012 20:41:18 -0800 (PST) Received: by 10.68.197.9 with SMTP id iq9mr55079442pbc.130.1353472878627; Tue, 20 Nov 2012 20:41:18 -0800 (PST) Received: from localhost.localdomain ([115.113.119.130]) by mx.google.com with ESMTPS id a10sm9236083paz.35.2012.11.20.20.41.15 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 20 Nov 2012 20:41:17 -0800 (PST) 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 coding style Date: Wed, 21 Nov 2012 10:04:58 +0530 Message-Id: <1353472498-5793-2-git-send-email-sachin.kamat@linaro.org> X-Mailer: git-send-email 1.7.4.1 In-Reply-To: <1353472498-5793-1-git-send-email-sachin.kamat@linaro.org> References: <1353472498-5793-1-git-send-email-sachin.kamat@linaro.org> X-Gm-Message-State: ALoCoQmQKwHwQ+8exX1wTeGymqp/MIAUVoFxba2v7kbqg7KolXeNhjvRSnYxi/J3NwWVHXdB25ux As per kernel coding style, if one branch of conditional statement has braces, the other one should have too. Signed-off-by: Sachin Kamat --- drivers/extcon/extcon-max77693.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/extcon/extcon-max77693.c b/drivers/extcon/extcon-max77693.c index 1da4ad4..8bf5e48 100644 --- a/drivers/extcon/extcon-max77693.c +++ b/drivers/extcon/extcon-max77693.c @@ -665,9 +665,9 @@ static int __devinit max77693_muic_probe(struct platform_device *pdev) } info->dev = &pdev->dev; info->max77693 = max77693; - if (info->max77693->regmap_muic) + if (info->max77693->regmap_muic) { dev_dbg(&pdev->dev, "allocate register map\n"); - else { + } else { info->max77693->regmap_muic = devm_regmap_init_i2c( info->max77693->muic, &max77693_muic_regmap_config);