Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751295AbdL3BNo (ORCPT ); Fri, 29 Dec 2017 20:13:44 -0500 Received: from mail-wm0-f66.google.com ([74.125.82.66]:39312 "EHLO mail-wm0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751087AbdL3BN3 (ORCPT ); Fri, 29 Dec 2017 20:13:29 -0500 X-Google-Smtp-Source: ACJfBouzI1pNe+NG5eDk8X92xhEw0SccgQ0jfRfv0/KcfqY6gK7Ot5ZZzA95MTOaq/HGEDx9CrKGtw== From: "Bryan O'Donoghue" To: mturquette@baylibre.com, sboyd@codeaurora.org, linux-kernel@vger.kernel.org, linux-clk@vger.kernel.org Cc: pure.logic@nexus-software.ie, Tony Prisk Subject: [PATCH 16/33] clk: vt8500: match temp holder variable to fn return type Date: Sat, 30 Dec 2017 01:12:55 +0000 Message-Id: <1514596392-22270-17-git-send-email-pure.logic@nexus-software.ie> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1514596392-22270-1-git-send-email-pure.logic@nexus-software.ie> References: <1514596392-22270-1-git-send-email-pure.logic@nexus-software.ie> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 935 Lines: 29 vtwm_pll_round_rate() returns an unsigned long. This patch changes the internal holder variable from signed to unsigned long for the sake of completeness and neatness. Signed-off-by: Bryan O'Donoghue Cc: Michael Turquette Cc: Stephen Boyd Cc: linux-clk@vger.kernel.org Cc: linux-kernel@vger.kernel.org Cc: Tony Prisk --- drivers/clk/clk-vt8500.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/clk/clk-vt8500.c b/drivers/clk/clk-vt8500.c index 750c087..a4aa0bf 100644 --- a/drivers/clk/clk-vt8500.c +++ b/drivers/clk/clk-vt8500.c @@ -609,7 +609,7 @@ static unsigned long vtwm_pll_round_rate(struct clk_hw *hw, unsigned long rate, { struct clk_pll *pll = to_clk_pll(hw); u32 filter, mul, div1, div2; - long round_rate; + unsigned long round_rate; int ret = 1; switch (pll->type) { -- 2.7.4