From patchwork Mon Jan 1 19:42:56 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bryan O'Donoghue X-Patchwork-Id: 10139501 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 7471D60362 for ; Mon, 1 Jan 2018 19:48:58 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 64EF6286FB for ; Mon, 1 Jan 2018 19:48:58 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 585BC286FE; Mon, 1 Jan 2018 19:48:58 +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.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,T_DKIM_INVALID autolearn=ham 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 01B5C286FB for ; Mon, 1 Jan 2018 19:48:58 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754363AbeAATsb (ORCPT ); Mon, 1 Jan 2018 14:48:31 -0500 Received: from mail-wm0-f68.google.com ([74.125.82.68]:42953 "EHLO mail-wm0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932079AbeAATne (ORCPT ); Mon, 1 Jan 2018 14:43:34 -0500 Received: by mail-wm0-f68.google.com with SMTP id b141so11704444wme.1 for ; Mon, 01 Jan 2018 11:43:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nexus-software-ie.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=6GztfH+sivole5s9UPo/Fe5RmhLMza53WQAvfdi4jZY=; b=rdtr5+hKd2t+FuOSPVvLw02qZwHts9xyHdMfYH7gOVj1+t5TP0LWFKFUKXCRjWPXxY j25Ez9Xrtkms3REXz0OCSPusnU++igQOpaoTuOLoQGAkj9ZE8t61Bg9e+dqclPIAxdDP w/Jf6VfZ4xWgX4zwnwvN7r9l6ptPCQI5hzCMXX4Z8oJGBQnag9XiR5nFU2KM8N/8IBXv MwobZ5tvYf69ITMW1bTJ5AAzx7ZJm6ViRqfpMiWD6y3dN5vgUPu+NQdEwI1gaaWZb2aK jIQDyzyOac14DM5BkvSddbzh8TKigy1XI13dcckkClEctpm1WUYsz1D8RVgYOmWo4/pl uobg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=6GztfH+sivole5s9UPo/Fe5RmhLMza53WQAvfdi4jZY=; b=S3Q/HRccjjGHC2cXPssjMBPGXrAwiYr0MfWHCYAZcznw1K2gSK1H6dXvabJxWhairA YCd3kJZOiLJCuNcgngmqNEyPTd3poStA0B/szFMfbWgM9ByaGkSDQfIacWhJPRWbsQo7 RumHOmzzkw0fVzDENabTdpc+lx3ci1Arc+ixBC7WypduDcoJ+LBJqGt+rebu67BTQy47 wKZlwIJFScdLEyU3i/4gCYExJVzRSB7XOSgDAjhqUPaiB57nkdTxlblyuNV0uhZ1wCkq k5cCIWtBrO2Rzs8boGKIpt09RpNGuE2qqPjJlTzt30V2vVZnFYR5jOfEeDHjVgS1TTVx Dilw== X-Gm-Message-State: AKGB3mKmXyVSCXcjgfo37+XzRxq/I24ht6wpQb3dWgYxZsE881hq8Q6G xRcFaRVy3Z1GzvxRV1hxp/pWbA== X-Google-Smtp-Source: ACJfBoslo4w30eZRAa0JqiywB3ytrO2LJCDRqbYZdjM7/eQmvVVzQobrqjTdaNhqoJmGc6VaygTy7A== X-Received: by 10.80.144.248 with SMTP id d53mr48945787eda.234.1514835813313; Mon, 01 Jan 2018 11:43:33 -0800 (PST) Received: from localhost.localdomain (D4CCACC7.cm-2.dynamic.ziggo.nl. [212.204.172.199]) by smtp.gmail.com with ESMTPSA id w2sm39361075edb.4.2018.01.01.11.43.32 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 01 Jan 2018 11:43:32 -0800 (PST) From: Bryan O'Donoghue To: mturquette@baylibre.com, sboyd@codeaurora.org, linux-kernel@vger.kernel.org, linux-clk@vger.kernel.org Cc: Bryan O'Donoghue , Tony Prisk Subject: [PATCH v3 17/34] clk: vt8500: match temp holder variable to fn return type Date: Mon, 1 Jan 2018 19:42:56 +0000 Message-Id: <1514835793-1104-18-git-send-email-pure.logic@nexus-software.ie> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1514835793-1104-1-git-send-email-pure.logic@nexus-software.ie> References: <1514835793-1104-1-git-send-email-pure.logic@nexus-software.ie> 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 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) {