Message ID | 1406027485-15657-5-git-send-email-lee.jones@linaro.org |
---|---|
State | Accepted |
Commit | b9ac2270ecf86a0090fb511833819da64291430d |
Headers | show
Return-Path: <patchwork-forward+bncBDA7X7F2WUEBB4MNXGPAKGQEUYQMS4Y@linaro.org> X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-ie0-f200.google.com (mail-ie0-f200.google.com [209.85.223.200]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id F042D20540 for <linaro@patches.linaro.org>; Tue, 22 Jul 2014 11:11:45 +0000 (UTC) Received: by mail-ie0-f200.google.com with SMTP id at20sf69406248iec.11 for <linaro@patches.linaro.org>; Tue, 22 Jul 2014 04:11:45 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:delivered-to:from:to:cc:subject :date:message-id:in-reply-to:references:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :list-post:list-help:list-archive:list-unsubscribe; bh=ZmBzHqXmApgDoiSYCwBoL7d0e4mdxDJnkJWDFlWPcTk=; b=L/T6ur9ZBINngO5hloOI2eOWMVnDrDjW+VvabDPWXncFzYCqgWrcXBY0orpOiFaCXe id2+WwMU8KmErsV43ktQVghWSdGlfTaslC56Xak+M3AjLk4wWk1IbiHGmBdJ7mmuqiPQ zSBxj0NIvDSYFlOmcckJgoXCXQWwp+NfgqUGm6pLW75fTn1fKzkLo4M0ZztluWqDNk4X gACw27r0cofXFCjXFg/moDgRtiM0GQFviLS0Nv3FscYQaDK6vFlkbuzAfT80Va3M2yS4 VVIYnMFdrjZCpZDqUrSmJ/AOShhOlZPqhnVb8x0CwtLyM3hlVJi7ooJ0Ig3LCfCV+9Uc b7xg== X-Gm-Message-State: ALoCoQkJX1IxO2D7Lkn9zqqvA0x3eYYRznmRk7t9oI48iddRQxoPTf6muyzw15qbclKHAlBerOZ0 X-Received: by 10.42.151.67 with SMTP id d3mr6962114icw.6.1406027505508; Tue, 22 Jul 2014 04:11:45 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.86.243 with SMTP id p106ls2252273qgd.54.gmail; Tue, 22 Jul 2014 04:11:45 -0700 (PDT) X-Received: by 10.220.3.79 with SMTP id 15mr13385768vcm.63.1406027505377; Tue, 22 Jul 2014 04:11:45 -0700 (PDT) Received: from mail-vc0-f177.google.com (mail-vc0-f177.google.com [209.85.220.177]) by mx.google.com with ESMTPS id ol3si97652vcb.30.2014.07.22.04.11.45 for <patchwork-forward@linaro.org> (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 22 Jul 2014 04:11:45 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.220.177 as permitted sender) client-ip=209.85.220.177; Received: by mail-vc0-f177.google.com with SMTP id hy4so14214513vcb.22 for <patchwork-forward@linaro.org>; Tue, 22 Jul 2014 04:11:45 -0700 (PDT) X-Received: by 10.52.244.138 with SMTP id xg10mr32880596vdc.40.1406027505312; Tue, 22 Jul 2014 04:11:45 -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.37.5 with SMTP id tc5csp186619vcb; Tue, 22 Jul 2014 04:11:44 -0700 (PDT) X-Received: by 10.50.2.71 with SMTP id 7mr15288952igs.32.1406027504779; Tue, 22 Jul 2014 04:11:44 -0700 (PDT) Received: from mail-ie0-f171.google.com (mail-ie0-f171.google.com [209.85.223.171]) by mx.google.com with ESMTPS id m3si1267644igx.17.2014.07.22.04.11.44 for <patches@linaro.org> (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 22 Jul 2014 04:11:44 -0700 (PDT) Received-SPF: pass (google.com: domain of lee.jones@linaro.org designates 209.85.223.171 as permitted sender) client-ip=209.85.223.171; Received: by mail-ie0-f171.google.com with SMTP id at1so7918065iec.2 for <patches@linaro.org>; Tue, 22 Jul 2014 04:11:44 -0700 (PDT) X-Received: by 10.50.79.202 with SMTP id l10mr15603967igx.16.1406027504571; Tue, 22 Jul 2014 04:11:44 -0700 (PDT) Received: from localhost.localdomain (host109-148-232-149.range109-148.btcentralplus.com. [109.148.232.149]) by mx.google.com with ESMTPSA id lo3sm1302829igb.22.2014.07.22.04.11.42 for <multiple recipients> (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 22 Jul 2014 04:11:44 -0700 (PDT) From: Lee Jones <lee.jones@linaro.org> To: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Cc: sameo@linux.intel.com, Lee Jones <lee.jones@linaro.org> Subject: [PATCH 04/19] mfd: mcp-core: Fix 'blank line after declarations' warning Date: Tue, 22 Jul 2014 12:11:10 +0100 Message-Id: <1406027485-15657-5-git-send-email-lee.jones@linaro.org> X-Mailer: git-send-email 1.8.3.2 In-Reply-To: <1406027485-15657-1-git-send-email-lee.jones@linaro.org> References: <1406027485-15657-1-git-send-email-lee.jones@linaro.org> X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: lee.jones@linaro.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.220.177 as permitted sender) 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: <patchwork-forward.linaro.org> X-Google-Group-Id: 836684582541 List-Post: <http://groups.google.com/a/linaro.org/group/patchwork-forward/post>, <mailto:patchwork-forward@linaro.org> List-Help: <http://support.google.com/a/linaro.org/bin/topic.py?topic=25838>, <mailto:patchwork-forward+help@linaro.org> List-Archive: <http://groups.google.com/a/linaro.org/group/patchwork-forward/> List-Unsubscribe: <mailto:googlegroups-manage+836684582541+unsubscribe@googlegroups.com>, <http://groups.google.com/a/linaro.org/group/patchwork-forward/subscribe> |
diff --git a/drivers/mfd/mcp-core.c b/drivers/mfd/mcp-core.c index 62e5e36..7f5066e 100644 --- a/drivers/mfd/mcp-core.c +++ b/drivers/mfd/mcp-core.c @@ -137,6 +137,7 @@ EXPORT_SYMBOL(mcp_reg_read); void mcp_enable(struct mcp *mcp) { unsigned long flags; + spin_lock_irqsave(&mcp->lock, flags); if (mcp->use_count++ == 0) mcp->ops->enable(mcp);
This is part of an effort to clean-up the MFD subsystem. WARNING: Missing a blank line after declarations + unsigned long flags; + spin_lock_irqsave(&mcp->lock, flags); total: 0 errors, 1 warnings, 238 lines checked Signed-off-by: Lee Jones <lee.jones@linaro.org> --- drivers/mfd/mcp-core.c | 1 + 1 file changed, 1 insertion(+)