From patchwork Tue Jul 22 11:11:16 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 34074 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-ig0-f198.google.com (mail-ig0-f198.google.com [209.85.213.198]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 68EB720540 for ; Tue, 22 Jul 2014 11:11:57 +0000 (UTC) Received: by mail-ig0-f198.google.com with SMTP id h18sf395497igc.1 for ; Tue, 22 Jul 2014 04:11:56 -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=Fi7pRLAkXIiL65pSTb1I9driDjpeq09XqosQzY595pU=; b=ROOxSmazbgj8LVx2h6CsXbgsSlyUoq2eVLRbOMwXxm5AzMQG1nJjlCW+Gan9pVKHo5 b0suI6PLTlHFtYFwSSJqcWSQWP7ToV+CSH4tsw2Mmyeo86pCKQHnj233YygxZdb73LUQ yvfC/8YkLz1X8pMbUUVtNziBvYnajwX53B6UVAvDyRRcWoqXb1VakWnuxmM3FX22VTiY 1QwO/P+Yh5fnM77PvSIB3JNQ/sKjHCHH0WjjsUL5PxL1F/y+mEmFsW2kWeFHtHmHMHVq jiC2RygcubGmdjt8qhTpETh6ztP0cysTo/9Ivar71rhdPNBVeibxS+HXz19ANq5BT7a7 uM8A== X-Gm-Message-State: ALoCoQl4ajVyz1shtAGAz2V5r2DbrQ+bheLllREdXRlHZfObmP6vWhwq/qu747cTRsnihiJi6Wud X-Received: by 10.182.32.1 with SMTP id e1mr3665888obi.11.1406027516924; Tue, 22 Jul 2014 04:11:56 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.102.18 with SMTP id v18ls2261125qge.51.gmail; Tue, 22 Jul 2014 04:11:56 -0700 (PDT) X-Received: by 10.52.53.33 with SMTP id y1mr18674490vdo.31.1406027516781; Tue, 22 Jul 2014 04:11:56 -0700 (PDT) Received: from mail-vc0-f178.google.com (mail-vc0-f178.google.com [209.85.220.178]) by mx.google.com with ESMTPS id wt9si99245vdc.20.2014.07.22.04.11.56 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 22 Jul 2014 04:11:56 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.220.178 as permitted sender) client-ip=209.85.220.178; Received: by mail-vc0-f178.google.com with SMTP id la4so14660595vcb.9 for ; Tue, 22 Jul 2014 04:11:56 -0700 (PDT) X-Received: by 10.52.129.200 with SMTP id ny8mr2523016vdb.27.1406027516001; Tue, 22 Jul 2014 04:11:56 -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 tc5csp186636vcb; Tue, 22 Jul 2014 04:11:55 -0700 (PDT) X-Received: by 10.50.79.232 with SMTP id m8mr15403445igx.39.1406027515551; Tue, 22 Jul 2014 04:11:55 -0700 (PDT) Received: from mail-ie0-f182.google.com (mail-ie0-f182.google.com [209.85.223.182]) by mx.google.com with ESMTPS id x10si36467438igl.63.2014.07.22.04.11.55 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 22 Jul 2014 04:11:55 -0700 (PDT) Received-SPF: pass (google.com: domain of lee.jones@linaro.org designates 209.85.223.182 as permitted sender) client-ip=209.85.223.182; Received: by mail-ie0-f182.google.com with SMTP id y20so7906502ier.41 for ; Tue, 22 Jul 2014 04:11:55 -0700 (PDT) X-Received: by 10.50.25.196 with SMTP id e4mr15278942igg.28.1406027515335; Tue, 22 Jul 2014 04:11:55 -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.53 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 22 Jul 2014 04:11:54 -0700 (PDT) From: Lee Jones To: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Cc: sameo@linux.intel.com, Lee Jones Subject: [PATCH 10/19] mfd: lp8788-irq: Fix 'missing blank line after declarations' warning Date: Tue, 22 Jul 2014 12:11:16 +0100 Message-Id: <1406027485-15657-11-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.178 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: X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , This is part of an effort to clean-up the MFD subsystem. WARNING: Missing a blank line after declarations + struct lp8788_irq_data *irqd = irq_data_get_irq_chip_data(data); + irqd->enabled[data->hwirq] = 1; WARNING: Missing a blank line after declarations + struct lp8788_irq_data *irqd = irq_data_get_irq_chip_data(data); + irqd->enabled[data->hwirq] = 0; total: 0 errors, 2 warnings, 198 lines checked Signed-off-by: Lee Jones --- drivers/mfd/lp8788-irq.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/mfd/lp8788-irq.c b/drivers/mfd/lp8788-irq.c index c84ded5..23982db 100644 --- a/drivers/mfd/lp8788-irq.c +++ b/drivers/mfd/lp8788-irq.c @@ -66,12 +66,14 @@ static inline u8 _irq_to_val(enum lp8788_int_id id, int enable) static void lp8788_irq_enable(struct irq_data *data) { struct lp8788_irq_data *irqd = irq_data_get_irq_chip_data(data); + irqd->enabled[data->hwirq] = 1; } static void lp8788_irq_disable(struct irq_data *data) { struct lp8788_irq_data *irqd = irq_data_get_irq_chip_data(data); + irqd->enabled[data->hwirq] = 0; }