From patchwork Fri Jul 24 18:23:18 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 11684063 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 8D90E13B4 for ; Fri, 24 Jul 2020 18:25:33 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 756B120737 for ; Fri, 24 Jul 2020 18:25:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1595615133; bh=5ktWSQf2OJMglO4ygaUgTJ1Ba7h5629G/Zz5/4zxDMA=; h=From:To:Cc:Subject:Date:In-Reply-To:References:List-ID:From; b=WwKvKTB5AYcCPS2Fjg4+kSPIygCLhhLmx1LxPqx9cD8K8fWkOORYaFhi9SRr98flJ GulT/TSMMp3oDvl5jPls+J/PfvMmCISJiWechZYGR3N5Ra1907wpP82brMvfqbw0LU L8MRH8xMFrp9MCNZCrCjI5BoXGTGPsdSfgmx9fN4= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727036AbgGXSYj (ORCPT ); Fri, 24 Jul 2020 14:24:39 -0400 Received: from mail.kernel.org ([198.145.29.99]:33254 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726988AbgGXSYi (ORCPT ); Fri, 24 Jul 2020 14:24:38 -0400 Received: from kozik-lap.mshome.net (unknown [194.230.155.213]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 0DAD02070E; Fri, 24 Jul 2020 18:24:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1595615078; bh=5ktWSQf2OJMglO4ygaUgTJ1Ba7h5629G/Zz5/4zxDMA=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=XBjUNT7l1oq+0hJwD2MqadgYTwGwuydK038bDcpD1LuwEDSGb69j5LKquC6bCgvh7 fJBOgA/0C79hQ5cTAQv5R4fjb0UPp49shcH+ohBlLJs28GOooOaa9YcrOE6+Ii5KXx dSmUT5VhZj1QY09IxYk18cctDju8cxdg14kwLHWI= From: Krzysztof Kozlowski To: Florian Fainelli , Ray Jui , Scott Branden , bcm-kernel-feedback-list@broadcom.com, Russell King , Catalin Marinas , Will Deacon , Krzysztof Kozlowski , Markus Mayer , Roger Quadros , Tony Lindgren , Vladimir Zapolskiy , Kukjin Kim , Lukasz Luba , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-omap@vger.kernel.org, linux-samsung-soc@vger.kernel.org, linux-pm@vger.kernel.org Cc: Olof Johansson , Arnd Bergmann Subject: [PATCH 06/16] memory: omap-gpmc: Use 'unsigned int' for consistency Date: Fri, 24 Jul 2020 20:23:18 +0200 Message-Id: <20200724182328.3348-7-krzk@kernel.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200724182328.3348-1-krzk@kernel.org> References: <20200724182328.3348-1-krzk@kernel.org> Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org Driver uses 'unsigned int' in other places instead of 'unsigned'. Signed-off-by: Krzysztof Kozlowski --- drivers/memory/omap-gpmc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/memory/omap-gpmc.c b/drivers/memory/omap-gpmc.c index 62577255ba0f..e4d2f359bcfa 100644 --- a/drivers/memory/omap-gpmc.c +++ b/drivers/memory/omap-gpmc.c @@ -243,7 +243,7 @@ static DEFINE_SPINLOCK(gpmc_mem_lock); /* Define chip-selects as reserved by default until probe completes */ static unsigned int gpmc_cs_num = GPMC_CS_NUM; static unsigned int gpmc_nr_waitpins; -static unsigned gpmc_capability; +static unsigned int gpmc_capability; static void __iomem *gpmc_base; static struct clk *gpmc_l3_clk; @@ -1289,7 +1289,7 @@ int gpmc_omap_onenand_set_timings(struct device *dev, int cs, int freq, } EXPORT_SYMBOL_GPL(gpmc_omap_onenand_set_timings); -int gpmc_get_client_irq(unsigned irq_config) +int gpmc_get_client_irq(unsigned int irq_config) { if (!gpmc_irq_domain) { pr_warn("%s called before GPMC IRQ domain available\n",