From patchwork Mon Dec 7 11:50:30 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 57772 Delivered-To: patch@linaro.org Received: by 10.202.179.86 with SMTP id c83csp944954oif; Mon, 7 Dec 2015 03:52:27 -0800 (PST) X-Received: by 10.98.68.210 with SMTP id m79mr42995892pfi.140.1449489147907; Mon, 07 Dec 2015 03:52:27 -0800 (PST) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id ls11si2179599pab.92.2015.12.07.03.52.27; Mon, 07 Dec 2015 03:52:27 -0800 (PST) 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; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dkim=neutral (body hash did not verify) header.i=@linaro-org.20150623.gappssmtp.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932289AbbLGLwZ (ORCPT + 28 others); Mon, 7 Dec 2015 06:52:25 -0500 Received: from mail-wm0-f49.google.com ([74.125.82.49]:38242 "EHLO mail-wm0-f49.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932169AbbLGLu4 (ORCPT ); Mon, 7 Dec 2015 06:50:56 -0500 Received: by wmec201 with SMTP id c201so147243125wme.1 for ; Mon, 07 Dec 2015 03:50:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro-org.20150623.gappssmtp.com; s=20150623; h=from:to:subject:date:message-id:in-reply-to:references; bh=aSRpPcVtoaAyw0KhyTUmlIhpq3R9np0wkCQWSX2oCgo=; b=JQFOcIF91KXScUosdUq/P2LJAzRINCx5CiB/7ppfuc3gP0HJ848KMQhxAh4gzlzMDR FgeWP9ZZL6x/ksKRCwtXY1bkvyc+k0GO23FIwUwZd3j1wWUx7owtMIDMNkIoJ3UdvDGU QBMw2hJNPTI8Vt4jK/NAmfNJ0Gp1cBvaHQaADlNngc1WpcO5dFEzGWwlnbZC695enyT4 oKqQu5udp0ulbLbYPmfUn4kgHCqQyorsVueIdX6QLf6mm/0VBRd6xoetwmAkvjCHCoX7 Ttnd4Gmx0ne1LL/pIHibrWeGLHs1Ypds2gSXBoaZP8sFrphH2Y1J3ahbIcFM6EqRProB E/8g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references; bh=aSRpPcVtoaAyw0KhyTUmlIhpq3R9np0wkCQWSX2oCgo=; b=Ty8Y8a5aFC48VN6EKAgBkpnXtcUXCOExcbpvjrVduQAGUfK0IWeIInTeerP7GIdtB4 kBmBQrUzR7tNGdpks3nRPhtzNstH8YOujoEex/FOFuC+15s+FyJDfkzgANggVwbZshC5 WbKGwl67Dxa2gYEBk7Hw1EfOaZa4N/7Aj+ZkT8TylBwC7jwgZsi229R4v8s4+IogQum4 WCn8NRQJGAeg0Srno4456Kwynr2yas3YGrjK42Te09KwJe3a9aPyewdG4D9FQZSDaC6p UlfOhCWztwu8fU0nTpPP0X8GKvgEZazJVlyCTDYmPlX6nYfkmFg90QVER3vCXcvK9e4+ RTVw== X-Gm-Message-State: ALoCoQmqzo9mQnfa7C47bscRRefIvvsBoXGHw2z7EkEB0dBCBJCcy4v24VWvLyA0Ngc9Btf158NeximqsYE82H/eeMwMmRi/iA== X-Received: by 10.28.101.195 with SMTP id z186mr22209475wmb.52.1449489054936; Mon, 07 Dec 2015 03:50:54 -0800 (PST) Received: from localhost.localdomain (host81-129-174-134.range81-129.btcentralplus.com. [81.129.174.134]) by smtp.gmail.com with ESMTPSA id z1sm24806533wje.35.2015.12.07.03.50.54 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 07 Dec 2015 03:50:54 -0800 (PST) From: Lee Jones To: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH 17/19] mfd: da9052-i2c: Fix tabbing/whitespace issue Date: Mon, 7 Dec 2015 11:50:30 +0000 Message-Id: <1449489032-14374-18-git-send-email-lee.jones@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1449489032-14374-1-git-send-email-lee.jones@linaro.org> References: <1449489032-14374-1-git-send-email-lee.jones@linaro.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org WARNING: suspect code indent for conditional statements (8, 24) + if (!i2c_safe_reg(reg)) + return regmap_read(da9052->regmap, total: 0 errors, 1 warnings, 226 lines checked Cc: Support Opensource Signed-off-by: Lee Jones --- drivers/mfd/da9052-i2c.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 1.9.1 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/ diff --git a/drivers/mfd/da9052-i2c.c b/drivers/mfd/da9052-i2c.c index 0288700..d2feaa1 100644 --- a/drivers/mfd/da9052-i2c.c +++ b/drivers/mfd/da9052-i2c.c @@ -70,7 +70,7 @@ static int da9052_i2c_fix(struct da9052 *da9052, unsigned char reg) case DA9053_BA: case DA9053_BB: /* A dummy read to a safe register address. */ - if (!i2c_safe_reg(reg)) + if (!i2c_safe_reg(reg)) return regmap_read(da9052->regmap, DA9052_PARK_REGISTER, &val);