From patchwork Tue Apr 28 04:46:18 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 6285621 Return-Path: X-Original-To: patchwork-linux-rockchip@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id D91D09F373 for ; Tue, 28 Apr 2015 04:49:21 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 11D3920374 for ; Tue, 28 Apr 2015 04:49:21 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 32B4420306 for ; Tue, 28 Apr 2015 04:49:20 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1YmxSR-0000CH-Aj; Tue, 28 Apr 2015 04:49:19 +0000 Received: from mailout4.w1.samsung.com ([210.118.77.14]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1YmxQU-0007jr-GR; Tue, 28 Apr 2015 04:47:19 +0000 Received: from eucpsbgm1.samsung.com (unknown [203.254.199.244]) by mailout4.w1.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTP id <0NNI008AZ2M5PV60@mailout4.w1.samsung.com>; Tue, 28 Apr 2015 05:46:53 +0100 (BST) X-AuditID: cbfec7f4-f79c56d0000012ee-93-553f10c0d746 Received: from eusync1.samsung.com ( [203.254.199.211]) by eucpsbgm1.samsung.com (EUCPMTA) with SMTP id 56.FD.04846.0C01F355; Tue, 28 Apr 2015 05:46:56 +0100 (BST) Received: from localhost.localdomain ([10.252.80.64]) by eusync1.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTPA id <0NNI00A672LDPN10@eusync1.samsung.com>; Tue, 28 Apr 2015 05:46:53 +0100 (BST) From: Krzysztof Kozlowski To: Ralf Baechle , Max Filippov , Mike Turquette , Stephen Boyd , Heiko Stuebner , Sylwester Nawrocki , Tomasz Figa , Kukjin Kim , Barry Song , Peter De Schrijver , Prashant Gaikwad , Stephen Warren , Thierry Reding , Alexandre Courbot , linux-mips@linux-mips.org, linux-kernel@vger.kernel.org, linux-clk@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, linux-samsung-soc@vger.kernel.org, linux-tegra@vger.kernel.org Subject: [PATCH v2 3/8] clk: tegra: Fix inconsistent indenting Date: Tue, 28 Apr 2015 13:46:18 +0900 Message-id: <1430196383-9190-4-git-send-email-k.kozlowski@samsung.com> X-Mailer: git-send-email 1.9.1 In-reply-to: <1430196383-9190-1-git-send-email-k.kozlowski@samsung.com> References: <1430196383-9190-1-git-send-email-k.kozlowski@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFmpikeLIzCtJLcpLzFFi42I5/e/4Zd0DAvahBj/WGlg8OdTLbHH9y3NW i3OvHrFY/H/0mtVi0v0JLBbfHi5ktHj9wtCi//FrZotNj6+xWnzsucdqcXnXHDaLCVMnsVt8 evCf2WLG+X1MFp1fZrFZPJ1wkc1i0tqpjBY356dZXNqjYnH4TTurxY8z3SwWrw62sVj83DWP xWLVrj+MDhIel/t6mTx2zrrL7rFpVSebx51re9g8jq5cy+SxeUm9R2/zOzaPvi2rGD22X5vH 7PF5k5zHxrmhAdxRXDYpqTmZZalF+nYJXBmfNlxnLPjAVXFi+VPGBsZmji5GTg4JAROJGa2/ mSFsMYkL99azdTFycQgJLGWUmNK2hhnC+c8o8f/PJUaQKjYBY4nNy5eAVYkI9LBJbH16D6yd WaBKYt7bHawgtrCAncT1RcfBGlgEVCVO394LZvMKuEn8vPQIap2cxMljk8HqOQXcJfqb+4Bs DqBtbhKdXfkTGHkXMDKsYhRNLU0uKE5KzzXUK07MLS7NS9dLzs/dxAiJmS87GBcfszrEKMDB qMTDm8FsHyrEmlhWXJl7iFGCg1lJhLf4j12oEG9KYmVValF+fFFpTmrxIUZpDhYlcd65u96H CAmkJ5akZqemFqQWwWSZODilGhg1Xoe2HLkjVWnxQq7NLshySf/cE8oV1vd+rWPzf7xqweqL gtUaFyO9ux5/n735fvCE5HUaTHfY/d4rvV5TclVpodYymU9Vruuf7o9PMGfa78ZSMXFquVVf 57L/u24G/JO8skLna9niFX/tp258kCLm8SYlOUQqNNy4ekVi+wyOgqWzt0lav5JSYinOSDTU Yi4qTgQA9jV495UCAAA= X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20150427_214718_748110_3CAF51BA X-CRM114-Status: GOOD ( 12.24 ) X-Spam-Score: -5.0 (-----) Cc: Inki Dae , Chanwoo Choi , Krzysztof Kozlowski X-BeenThere: linux-rockchip@lists.infradead.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Upstream kernel work for Rockchip platforms List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: "Linux-rockchip" Errors-To: linux-rockchip-bounces+patchwork-linux-rockchip=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Fix the indentation - spaces used instead of tabs and actually wrong number of spaces. Signed-off-by: Krzysztof Kozlowski --- drivers/clk/tegra/clk-emc.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/drivers/clk/tegra/clk-emc.c b/drivers/clk/tegra/clk-emc.c index 615da43a508d..8757feda4a11 100644 --- a/drivers/clk/tegra/clk-emc.c +++ b/drivers/clk/tegra/clk-emc.c @@ -130,11 +130,11 @@ static long emc_determine_rate(struct clk_hw *hw, unsigned long rate, tegra = container_of(hw, struct tegra_clk_emc, hw); - for (i = 0; i < tegra->num_timings; i++) { - if (tegra->timings[i].ram_code != ram_code) - continue; + for (i = 0; i < tegra->num_timings; i++) { + if (tegra->timings[i].ram_code != ram_code) + continue; - timing = tegra->timings + i; + timing = tegra->timings + i; if (timing->rate > max_rate) { i = min(i, 1); @@ -145,11 +145,11 @@ static long emc_determine_rate(struct clk_hw *hw, unsigned long rate, continue; if (timing->rate >= rate) - return timing->rate; - } + return timing->rate; + } - if (timing) - return timing->rate; + if (timing) + return timing->rate; return __clk_get_rate(hw->clk); }