From patchwork Sat Dec 30 01:12:55 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bryan O'Donoghue X-Patchwork-Id: 10137571 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 D3DB8605B4 for ; Sat, 30 Dec 2017 01:19:04 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id C70802B551 for ; Sat, 30 Dec 2017 01:19:04 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id BC2DA2B55D; Sat, 30 Dec 2017 01:19:04 +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 5992E2B55A for ; Sat, 30 Dec 2017 01:19:04 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751100AbdL3BTD (ORCPT ); Fri, 29 Dec 2017 20:19:03 -0500 Received: from mail-wm0-f67.google.com ([74.125.82.67]:34983 "EHLO mail-wm0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751078AbdL3BN3 (ORCPT ); Fri, 29 Dec 2017 20:13:29 -0500 Received: by mail-wm0-f67.google.com with SMTP id a79so11266530wma.0 for ; Fri, 29 Dec 2017 17:13:28 -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=rIF3QzGAW9XQpGTzbwzqjHDrnqkQneDFUnmigasG3W4uMDsXLTi9CNXUR5bWpXXGe1 2prkGCCbrJanAT9KEGVADlKoRT5dOuhj4nYzK0bfO5FdqKYWJnGmnK3ZuIRVStiT1AFs YoSTuAWvXq5Ld/FRlPRu44zOGrZz2DpTdVfCuknkTd8nV14/+QH0ESGhFKFNnrLRxxX7 eC7+bq1NF0jLPuT2/4RSCi+fNule3uZT7E1EwoxLLxxi9sUB82/1ZiYIJVcm47hulgtj b0Qqbjy37rDf7mhpDnL2wFI1ZqAnNDoASe+A2Xy7xbtyKSx8Nk2MUzEAmV7js9hR34Fp aWww== 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=tacqvlplz2SaaQam71kkpW7CUZcOeiljhsQMalqrCso9biAaGbAsMxrG14gNBvnWpk 5HUNqi2CqSazZocatvysw1SYtCuy9G4VYhcUKC+iTb4SkEKdLoHhYXV+cNDX3d/yrzFO IxiRY2DhNclyjgYlR/7R2YyhB1mJwT08wsU5NOeW3Yo/bTyLz2W6ktdNvxJHy3DjhKp7 xGGA3gjNR57dftZdvgWxMCrf0NTzB0fadx+E8tkPtm079J0ihpmGjb/lSVbv23P0HoQk SH0ixODL5VbqGRIYRH6rRRtnYixSTBCFZzY0RB7NVwBDtSTWUoNYfL2lw8Ha6WY0sFTk GjKA== X-Gm-Message-State: AKGB3mLcoxjFygeb9qDEAdW3PsyO09pAk3MVmENCgDOMLV9QInbVS1bZ S1G3VdaLRGHOCmMZ/l1DoZqXW/Zw X-Google-Smtp-Source: ACJfBouzI1pNe+NG5eDk8X92xhEw0SccgQ0jfRfv0/KcfqY6gK7Ot5ZZzA95MTOaq/HGEDx9CrKGtw== X-Received: by 10.80.179.233 with SMTP id t38mr45844233edd.267.1514596408224; Fri, 29 Dec 2017 17:13:28 -0800 (PST) Received: from localhost.localdomain ([109.255.42.2]) by smtp.gmail.com with ESMTPSA id h4sm29818268edb.16.2017.12.29.17.13.27 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 29 Dec 2017 17:13:27 -0800 (PST) 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-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) {