From patchwork Mon Jan 1 19:34:43 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: 10139365 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 56C0560362 for ; Mon, 1 Jan 2018 19:39:10 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 47D8A285C9 for ; Mon, 1 Jan 2018 19:39:10 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 3CC96285E6; Mon, 1 Jan 2018 19:39:10 +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 B99D6285C9 for ; Mon, 1 Jan 2018 19:39:09 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753060AbeAATfH (ORCPT ); Mon, 1 Jan 2018 14:35:07 -0500 Received: from mail-wm0-f65.google.com ([74.125.82.65]:35600 "EHLO mail-wm0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753032AbeAATfF (ORCPT ); Mon, 1 Jan 2018 14:35:05 -0500 Received: by mail-wm0-f65.google.com with SMTP id a79so19067256wma.0 for ; Mon, 01 Jan 2018 11:35:05 -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=MylDZQmegZEYtJRQFlRjCiucSiT0E5sVLL9vgXK/2iZp321OUAcBPibOfd31VhNLQX wOTZZtWEMIthp49QLzo5KvcJN5jKJE7x9Qr9o0yo+X6hJZzCyjZohnArcpFpIMpfjwhP K9cyNojEypLN5eSgexPvVq2eN5Al8evE4RVPQhdffA9PUDs6S5PEadwXMdp6WZaWykiz MZ+vDA5Y7RiwmxbXlp6q/o1f56X4k6aqjoXOjwKZnQ/y0/6tXcboYUjWHekP1L/8liGi MCT24tJvLhE6OPHKTYGO+8tuOhZtvZqAZWj0Cs5QNxRDCwdr2iJxEQXvltaA1NU4RcPI kLPw== 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=RXAAIGEvyH0lI+fmYBf4v8U1gBW9GAjhabt/Y/IcOF8CdHYjTlKV9DWG8ZkwePfE1m Z1txGozBW3xzpXxZmS7S8wvMNcFLv6tZtEEIriyRrWVY9pgUKKGzmnhmJuBwAz016Hb9 8oavSAwKe1+UlFSHJ1FQ0XHdNDdcXLiqO39C+hL300crCHHWwA11HT3UkHxNGqGp0nYa bZQgzJzhAD9XlisxMH4fwNUg7Jv/gTo7ExzJpHzr1SmasVeRDFF6jIzMG7zQmX9ScZI/ ZvpCJSuP9I9ZDiPb5d2wPFeh/TocprApeXnBwD/uibA4+/Jt2LO1ixUhphyh+F0OvBTf QQ6A== X-Gm-Message-State: AKGB3mJ9y6IwqIC2ZbLNllHx/e+Vd+PhYLdGeq5U96nzbzwgQMpRvZSr EfwoQrpNjDBkwWCjXrnRFC4P6g== X-Google-Smtp-Source: ACJfBosA4TwZ9i2vM9ozuJItYtSEsytr4FQLNfLU0QPa9jiSINLqlbhjxSIOCC9CqB4h2eHhZrZ6jg== X-Received: by 10.80.184.52 with SMTP id j49mr17550812ede.160.1514835304711; Mon, 01 Jan 2018 11:35:04 -0800 (PST) Received: from localhost.localdomain (D4CCACC7.cm-2.dynamic.ziggo.nl. [212.204.172.199]) by smtp.gmail.com with ESMTPSA id r8sm29086992edm.22.2018.01.01.11.35.03 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 01 Jan 2018 11:35:04 -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 v2 17/34] clk: vt8500: match temp holder variable to fn return type Date: Mon, 1 Jan 2018 19:34:43 +0000 Message-Id: <1514835300-381-3-git-send-email-pure.logic@nexus-software.ie> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1514835300-381-1-git-send-email-pure.logic@nexus-software.ie> References: <1514835300-381-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) {