From patchwork Mon Aug 22 09:48:39 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chanwoo Choi X-Patchwork-Id: 9293353 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 4B9AE607FF for ; Mon, 22 Aug 2016 09:49:55 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 3C6EC28663 for ; Mon, 22 Aug 2016 09:49:55 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 2D52728811; Mon, 22 Aug 2016 09:49:55 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=2.0 tests=BAYES_00,RCVD_IN_DNSWL_HI autolearn=unavailable version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 9719E28663 for ; Mon, 22 Aug 2016 09:49:54 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754848AbcHVJtA (ORCPT ); Mon, 22 Aug 2016 05:49:00 -0400 Received: from mailout3.samsung.com ([203.254.224.33]:47835 "EHLO mailout3.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932256AbcHVJsq (ORCPT ); Mon, 22 Aug 2016 05:48:46 -0400 Received: from epcpsbgr2.samsung.com (u142.gpu120.samsung.co.kr [203.254.230.142]) by mailout3.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTP id <0OCB005541X5S930@mailout3.samsung.com>; Mon, 22 Aug 2016 18:48:41 +0900 (KST) Received: from epcpsbgm1new.samsung.com ( [172.20.52.113]) by epcpsbgr2.samsung.com (EPCPMTA) with SMTP id 8C.5C.27902.97ACAB75; Mon, 22 Aug 2016 18:48:41 +0900 (KST) X-AuditID: cbfee68e-f79cb6d000006cfe-81-57baca798e63 Received: from epmmp1.local.host ( [203.254.227.16]) by epcpsbgm1new.samsung.com (EPCPMTA) with SMTP id 17.24.05218.97ACAB75; Mon, 22 Aug 2016 18:48:41 +0900 (KST) Received: from chan.10.32.193.11 ([10.113.62.212]) by mmp1.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTPA id <0OCB00BJV1X4ZV40@mmp1.samsung.com>; Mon, 22 Aug 2016 18:48:41 +0900 (KST) From: Chanwoo Choi To: s.nawrocki@samsung.com, tomasz.figa@gmail.com Cc: mturquette@baylibre.com, sboyd@codeaurora.org, kgene@kernel.org, k.kozlowski@samsung.com, chanwoo@kernel.org, linux-samsung-soc@vger.kernel.org, linux-clk@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Chanwoo Choi Subject: [PATCH 5/5] clk: samsung: exynos4: Fix the checkpatch warnings Date: Mon, 22 Aug 2016 18:48:39 +0900 Message-id: <1471859319-30681-6-git-send-email-cw00.choi@samsung.com> X-Mailer: git-send-email 1.8.0 In-reply-to: <1471859319-30681-1-git-send-email-cw00.choi@samsung.com> References: <1471859319-30681-1-git-send-email-cw00.choi@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFvrJLMWRmVeSWpSXmKPExsWyRsSkULfy1K5wg6UrJC0m3rjCYnH9y3NW i9cvDC36H79mttj0+Bqrxceee6wWl3fNYbOYcX4fk8XFU64Wh9+0s1r8ONPNYrFq1x9GBx6P 9zda2T0u9/UyeeycdZfdY9OqTjaPzUvqPfq2rGL0+LxJLoA9issmJTUnsyy1SN8ugStj5TzB gjmqFRdO/GFvYNwg18XIySEhYCKxf+YjJghbTOLCvfVsILaQwApGiQdznGFqdh/qBarhAoov ZZSYcWgLM4TzhVHize35YN1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mpZbrFSfmFpfmpesl5+duYgRH4jOpHYwHd7kfYhTgYFTi 4ZU4titciDWxrLgy9xCjBAezkgiv1EmgEG9KYmVValF+fFFpTmrxIUZToMMmMkuJJucDk0Re SbyhsYmZkaWRuaGFkbG5kjjv4//rwoQE0hNLUrNTUwtSi2D6mDg4pRoYw77OSa2/s2K2dbY5 Q5ymhZrs4Wdhe6ZqyUk8POvft4FtQfmv1VkSqo29hyYXZTyadrTOJYuvjH3ZJK76nFKFKrOp rGcN+PbK27s4S1fezdT853Dh7KVXtffbvL+15NSmPjfsfcewZsf21bqBsh57bhhGL4oW+WqS KmzKspupOSVBq89DIUeJpTgj0VCLuag4EQCZncLD2gIAAA== DLP-Filter: Pass X-MTR: 20000000000000000@CPGS X-CFilter-Loop: Reflected Sender: linux-clk-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-clk@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP This patch fixes the following warnings by using checkpatch.pl script. - Remove the space prohibited after that open parenthesis '(' - Remove the unneeded blank line Signed-off-by: Chanwoo Choi --- drivers/clk/samsung/clk-exynos4.c | 51 +++++++++++++++++++-------------------- 1 file changed, 25 insertions(+), 26 deletions(-) diff --git a/drivers/clk/samsung/clk-exynos4.c b/drivers/clk/samsung/clk-exynos4.c index faab9b31baf5..9809e6d8dadd 100644 --- a/drivers/clk/samsung/clk-exynos4.c +++ b/drivers/clk/samsung/clk-exynos4.c @@ -1267,13 +1267,13 @@ static const struct of_device_id ext_clk_match[] __initconst = { static const struct samsung_pll_rate_table exynos4210_apll_rates[] __initconst = { PLL_45XX_RATE(1200000000, 150, 3, 1, 28), PLL_45XX_RATE(1000000000, 250, 6, 1, 28), - PLL_45XX_RATE( 800000000, 200, 6, 1, 28), - PLL_45XX_RATE( 666857142, 389, 14, 1, 13), - PLL_45XX_RATE( 600000000, 100, 4, 1, 13), - PLL_45XX_RATE( 533000000, 533, 24, 1, 5), - PLL_45XX_RATE( 500000000, 250, 6, 2, 28), - PLL_45XX_RATE( 400000000, 200, 6, 2, 28), - PLL_45XX_RATE( 200000000, 200, 6, 3, 28), + PLL_45XX_RATE(800000000, 200, 6, 1, 28), + PLL_45XX_RATE(666857142, 389, 14, 1, 13), + PLL_45XX_RATE(600000000, 100, 4, 1, 13), + PLL_45XX_RATE(533000000, 533, 24, 1, 5), + PLL_45XX_RATE(500000000, 250, 6, 2, 28), + PLL_45XX_RATE(400000000, 200, 6, 2, 28), + PLL_45XX_RATE(200000000, 200, 6, 3, 28), { /* sentinel */ } }; @@ -1281,10 +1281,10 @@ static const struct samsung_pll_rate_table exynos4210_epll_rates[] __initconst = PLL_4600_RATE(192000000, 48, 3, 1, 0, 0), PLL_4600_RATE(180633605, 45, 3, 1, 10381, 0), PLL_4600_RATE(180000000, 45, 3, 1, 0, 0), - PLL_4600_RATE( 73727996, 73, 3, 3, 47710, 1), - PLL_4600_RATE( 67737602, 90, 4, 3, 20762, 1), - PLL_4600_RATE( 49151992, 49, 3, 3, 9961, 0), - PLL_4600_RATE( 45158401, 45, 3, 3, 10381, 0), + PLL_4600_RATE(73727996, 73, 3, 3, 47710, 1), + PLL_4600_RATE(67737602, 90, 4, 3, 20762, 1), + PLL_4600_RATE(49151992, 49, 3, 3, 9961, 0), + PLL_4600_RATE(45158401, 45, 3, 3, 10381, 0), { /* sentinel */ } }; @@ -1293,7 +1293,7 @@ static const struct samsung_pll_rate_table exynos4210_vpll_rates[] __initconst = PLL_4650_RATE(324000000, 53, 2, 1, 1024, 1, 1, 1), PLL_4650_RATE(259617187, 63, 3, 1, 1950, 0, 20, 1), PLL_4650_RATE(110000000, 53, 3, 2, 2048, 0, 17, 0), - PLL_4650_RATE( 55360351, 53, 3, 3, 2417, 0, 17, 0), + PLL_4650_RATE(55360351, 53, 3, 3, 2417, 0, 17, 0), { /* sentinel */ } }; @@ -1304,14 +1304,14 @@ static const struct samsung_pll_rate_table exynos4x12_apll_rates[] __initconst = PLL_35XX_RATE(1200000000, 200, 4, 0), PLL_35XX_RATE(1100000000, 275, 6, 0), PLL_35XX_RATE(1000000000, 125, 3, 0), - PLL_35XX_RATE( 900000000, 150, 4, 0), - PLL_35XX_RATE( 800000000, 100, 3, 0), - PLL_35XX_RATE( 700000000, 175, 3, 1), - PLL_35XX_RATE( 600000000, 200, 4, 1), - PLL_35XX_RATE( 500000000, 125, 3, 1), - PLL_35XX_RATE( 400000000, 100, 3, 1), - PLL_35XX_RATE( 300000000, 200, 4, 2), - PLL_35XX_RATE( 200000000, 100, 3, 2), + PLL_35XX_RATE(900000000, 150, 4, 0), + PLL_35XX_RATE(800000000, 100, 3, 0), + PLL_35XX_RATE(700000000, 175, 3, 1), + PLL_35XX_RATE(600000000, 200, 4, 1), + PLL_35XX_RATE(500000000, 125, 3, 1), + PLL_35XX_RATE(400000000, 100, 3, 1), + PLL_35XX_RATE(300000000, 200, 4, 2), + PLL_35XX_RATE(200000000, 100, 3, 2), { /* sentinel */ } }; @@ -1319,10 +1319,10 @@ static const struct samsung_pll_rate_table exynos4x12_epll_rates[] __initconst = PLL_36XX_RATE(192000000, 48, 3, 1, 0), PLL_36XX_RATE(180633605, 45, 3, 1, 10381), PLL_36XX_RATE(180000000, 45, 3, 1, 0), - PLL_36XX_RATE( 73727996, 73, 3, 3, 47710), - PLL_36XX_RATE( 67737602, 90, 4, 3, 20762), - PLL_36XX_RATE( 49151992, 49, 3, 3, 9961), - PLL_36XX_RATE( 45158401, 45, 3, 3, 10381), + PLL_36XX_RATE(73727996, 73, 3, 3, 47710), + PLL_36XX_RATE(67737602, 90, 4, 3, 20762), + PLL_36XX_RATE(49151992, 49, 3, 3, 9961), + PLL_36XX_RATE(45158401, 45, 3, 3, 10381), { /* sentinel */ } }; @@ -1333,7 +1333,7 @@ static const struct samsung_pll_rate_table exynos4x12_vpll_rates[] __initconst = PLL_36XX_RATE(266000000, 133, 3, 2, 0), PLL_36XX_RATE(160000000, 160, 3, 3, 0), PLL_36XX_RATE(106031250, 53, 3, 2, 1024), - PLL_36XX_RATE( 53015625, 53, 3, 3, 1024), + PLL_36XX_RATE(53015625, 53, 3, 3, 1024), { /* sentinel */ } }; @@ -1559,7 +1559,6 @@ static void __init exynos4_clk_init(struct device_node *np, _get_rate("div_core2")); } - static void __init exynos4210_clk_init(struct device_node *np) { exynos4_clk_init(np, EXYNOS4210);