Message ID | 1395138184-25287-4-git-send-email-sachin.kamat@linaro.org |
---|---|
State | Accepted |
Commit | a5f8f96307f5a653018b9c7d91e620ef6bebd55c |
Headers | show
Return-Path: <patchwork-forward+bncBDM5LUP2XEPRBKGAUCMQKGQEIOS3GYI@linaro.org> X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-vc0-f197.google.com (mail-vc0-f197.google.com [209.85.220.197]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 6FAAB203C3 for <linaro@patches.linaro.org>; Tue, 18 Mar 2014 10:30:00 +0000 (UTC) Received: by mail-vc0-f197.google.com with SMTP id if11sf16288974vcb.4 for <linaro@patches.linaro.org>; Tue, 18 Mar 2014 03:30:00 -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:sender:precedence:list-id :x-original-sender:x-original-authentication-results:mailing-list :list-post:list-help:list-archive:list-unsubscribe; bh=VhH7aC0iWlcQqZaWWmyivj9lVoO1BnUnl+ZdVCIwTNo=; b=jjvg8V8EGw54iWDlRbXJ6/nHcurkx13KYxxD6GjLa3aZHURkhkDhjc18GzIjoY9S6n ZJljAeVck/8i/hTYK+A4dPkHzkupuJm3lVAhwTkCbRYUjFCHBSO2wmQVe/3ScCJnncb1 qw0AFjmA8S0BPrIpj/xf0BbFBtRE91EPS1h3nW8fOQYNzigSsKurh3UbvnOh6IG12bqo pTjS8/TfgsW1HgdOlFJV4/DYdQLEyHBlHlfenuhx4ssgeL6FubWxllFM21eabycfSZ+w 1t9RtcFnqh4xR8et/orY5p8r9lCJSY3+U2L5q2CVsTvqvmgfBnfkR5khA96g5I0hV/5N q+Vw== X-Gm-Message-State: ALoCoQkBjGNtf5IK7UwG8ZWl5WSd7eFkFxrrkHyt6FOtkDy7EhJZYeU0QroBK8QanCA8tpRAoaxr X-Received: by 10.236.202.110 with SMTP id c74mr3152632yho.25.1395138600176; Tue, 18 Mar 2014 03:30:00 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.86.85 with SMTP id o79ls881547qgd.12.gmail; Tue, 18 Mar 2014 03:30:00 -0700 (PDT) X-Received: by 10.52.171.68 with SMTP id as4mr20723945vdc.0.1395138599989; Tue, 18 Mar 2014 03:29:59 -0700 (PDT) Received: from mail-ve0-f173.google.com (mail-ve0-f173.google.com [209.85.128.173]) by mx.google.com with ESMTPS id cl8si6330110vcb.1.2014.03.18.03.29.59 for <patchwork-forward@linaro.org> (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 18 Mar 2014 03:29:59 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.128.173 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=209.85.128.173; Received: by mail-ve0-f173.google.com with SMTP id oy12so6712839veb.18 for <patchwork-forward@linaro.org>; Tue, 18 Mar 2014 03:29:59 -0700 (PDT) X-Received: by 10.58.57.42 with SMTP id f10mr24268518veq.1.1395138599894; Tue, 18 Mar 2014 03:29:59 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.220.78.9 with SMTP id i9csp193937vck; Tue, 18 Mar 2014 03:29:59 -0700 (PDT) X-Received: by 10.68.196.137 with SMTP id im9mr31073044pbc.105.1395138599022; Tue, 18 Mar 2014 03:29:59 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id e6si15672702pbj.43.2014.03.18.03.29.58; Tue, 18 Mar 2014 03:29:58 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754885AbaCRK3j (ORCPT <rfc822;linus.walleij@linaro.org> + 26 others); Tue, 18 Mar 2014 06:29:39 -0400 Received: from mail-pd0-f173.google.com ([209.85.192.173]:45603 "EHLO mail-pd0-f173.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753953AbaCRK3f (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Tue, 18 Mar 2014 06:29:35 -0400 Received: by mail-pd0-f173.google.com with SMTP id z10so6876617pdj.18 for <linux-kernel@vger.kernel.org>; Tue, 18 Mar 2014 03:29:34 -0700 (PDT) X-Received: by 10.66.246.229 with SMTP id xz5mr31703502pac.119.1395138574681; Tue, 18 Mar 2014 03:29:34 -0700 (PDT) Received: from linaro.sisodomain.com ([115.113.119.130]) by mx.google.com with ESMTPSA id id10sm51276560pbc.35.2014.03.18.03.29.32 for <multiple recipients> (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 18 Mar 2014 03:29:33 -0700 (PDT) From: Sachin Kamat <sachin.kamat@linaro.org> To: linux-kernel@vger.kernel.org Cc: broonie@kernel.org, lgirdwood@gmail.com, sachin.kamat@linaro.org Subject: [PATCH 4/4] regulator: max8952: Silence checkpatch warning Date: Tue, 18 Mar 2014 15:53:04 +0530 Message-Id: <1395138184-25287-4-git-send-email-sachin.kamat@linaro.org> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1395138184-25287-1-git-send-email-sachin.kamat@linaro.org> References: <1395138184-25287-1-git-send-email-sachin.kamat@linaro.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: list List-ID: <patchwork-forward.linaro.org> X-Mailing-List: linux-kernel@vger.kernel.org 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.128.173 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 Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@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: <http://groups.google.com/a/linaro.org/group/patchwork-forward/subscribe>, <mailto:googlegroups-manage+836684582541+unsubscribe@googlegroups.com> |
On Tue, Mar 18, 2014 at 03:53:04PM +0530, Sachin Kamat wrote: > Silences the following type of checkpatch warning: > WARNING: Missing a blank line after declarations Applied, thanks.
diff --git a/drivers/regulator/max8952.c b/drivers/regulator/max8952.c index c5ee3cc048ee..d920f5a32ec8 100644 --- a/drivers/regulator/max8952.c +++ b/drivers/regulator/max8952.c @@ -57,6 +57,7 @@ struct max8952_data { static int max8952_read_reg(struct max8952_data *max8952, u8 reg) { int ret = i2c_smbus_read_byte_data(max8952->client, reg); + if (ret > 0) ret &= 0xff;
Silences the following type of checkpatch warning: WARNING: Missing a blank line after declarations Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org> --- drivers/regulator/max8952.c | 1 + 1 file changed, 1 insertion(+)