From patchwork Tue Jul 22 11:11:18 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 34076 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-qa0-f69.google.com (mail-qa0-f69.google.com [209.85.216.69]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 0CDC120540 for ; Tue, 22 Jul 2014 11:12:00 +0000 (UTC) Received: by mail-qa0-f69.google.com with SMTP id v10sf23294575qac.4 for ; Tue, 22 Jul 2014 04:11:59 -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=Y5gS6M/ZNH7HKucDyJDAWD2lDCmm4lSmitM7BN3XE7s=; b=HF4RqCJhXDyvt+3256NW/UdhTKFZvGNQJrx9E1eNsdwUWKYVP5B8F7Ib/6lztVPZBl Tzjxdfw30iS6gjAuRl6ryjq7/trmg43+OP2ljroaBUio9i9PdrqUVfl1/2Bf/QWfqjlT pLtlC9EwXYw6oxz1UC/m0XygPRxiGo9lMymWW9ln4jTPZYE2WeUSOz1+Ryqyum9pZ6bp Z+wx1kg/FuK0RmYCb93JyAw2xD3u/j4RnqxQkXDYh7L/5UnbJnTmQa7COne9UpKV3os7 3J/QK7ztOk8HDypbG4gQOaNbaDZMHERvYiNdWETLbC3DvVtIgvD37nSsPFQ4n8G0tr3y 7IVg== X-Gm-Message-State: ALoCoQn2tBa+sWcE2hRyO4k1iCeDcv8l30Jv3rYdhl+TclYW+gH17BU9XFcf7dEf/M8J9HX6YauA X-Received: by 10.236.21.172 with SMTP id r32mr13739484yhr.29.1406027519896; Tue, 22 Jul 2014 04:11:59 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.49.1 with SMTP id p1ls2441909qga.97.gmail; Tue, 22 Jul 2014 04:11:59 -0700 (PDT) X-Received: by 10.220.251.134 with SMTP id ms6mr28060242vcb.10.1406027519709; Tue, 22 Jul 2014 04:11:59 -0700 (PDT) Received: from mail-vc0-f180.google.com (mail-vc0-f180.google.com [209.85.220.180]) by mx.google.com with ESMTPS id s10si93929vcx.51.2014.07.22.04.11.59 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 22 Jul 2014 04:11:59 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.220.180 as permitted sender) client-ip=209.85.220.180; Received: by mail-vc0-f180.google.com with SMTP id ij19so14377757vcb.11 for ; Tue, 22 Jul 2014 04:11:59 -0700 (PDT) X-Received: by 10.52.244.138 with SMTP id xg10mr32882462vdc.40.1406027519580; Tue, 22 Jul 2014 04:11:59 -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 tc5csp186642vcb; Tue, 22 Jul 2014 04:11:59 -0700 (PDT) X-Received: by 10.43.156.77 with SMTP id ll13mr22049553icc.81.1406027519094; Tue, 22 Jul 2014 04:11:59 -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 ol6si1136240icb.107.2014.07.22.04.11.58 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 22 Jul 2014 04:11:59 -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 y20so8066221ier.13 for ; Tue, 22 Jul 2014 04:11:58 -0700 (PDT) X-Received: by 10.50.141.199 with SMTP id rq7mr15111942igb.37.1406027518897; Tue, 22 Jul 2014 04:11:58 -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.57 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 22 Jul 2014 04:11:58 -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 12/19] mfd: max8925-core: Fix 'missing blank line after declarations' warning Date: Tue, 22 Jul 2014 12:11:18 +0100 Message-Id: <1406027485-15657-13-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.180 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 max8925_chip *chip = irq_data_get_irq_chip_data(data); + max8925_irqs[data->irq - chip->irq_base].enable WARNING: Missing a blank line after declarations + struct max8925_chip *chip = irq_data_get_irq_chip_data(data); + max8925_irqs[data->irq - chip->irq_base].enable = 0; total: 0 errors, 2 warnings, 927 lines checked Signed-off-by: Lee Jones --- drivers/mfd/max8925-core.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/mfd/max8925-core.c b/drivers/mfd/max8925-core.c index f3faf0c..97a787a 100644 --- a/drivers/mfd/max8925-core.c +++ b/drivers/mfd/max8925-core.c @@ -624,6 +624,7 @@ static void max8925_irq_sync_unlock(struct irq_data *data) static void max8925_irq_enable(struct irq_data *data) { struct max8925_chip *chip = irq_data_get_irq_chip_data(data); + max8925_irqs[data->irq - chip->irq_base].enable = max8925_irqs[data->irq - chip->irq_base].offs; } @@ -631,6 +632,7 @@ static void max8925_irq_enable(struct irq_data *data) static void max8925_irq_disable(struct irq_data *data) { struct max8925_chip *chip = irq_data_get_irq_chip_data(data); + max8925_irqs[data->irq - chip->irq_base].enable = 0; }