From patchwork Wed Apr 13 06:07:19 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?b?QXLEsW7DpyDDnE5BTA==?= X-Patchwork-Id: 12811592 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 5FD26C433F5 for ; Wed, 13 Apr 2022 06:13:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=dxjHOW9bZlQFj3OJ/MYygfq2dXABwJCnoLng7OaQ19g=; b=sXAXYWwlkhAFpE myiXCrxiD1FkV0pCzMOBFmYiZXQIxlxswJ/QTNI8vykqDFSlIteZouF6lvzcLlzxQ5nfGJTW/mulI Zzu6YTx6a08rR2bcf0K2HZrL5ia7caIC+sI1pakAW9Sb9oys8jzovdLrMiKcYvMlRv5fqW8zpX/6k KoxP5zceiOrVW/AB46Uy//LCr4FReU060cTfDQYtGq2iKF7bK/MvHwRqoCsellBatXgYnmytOxUN3 NRRy8WDeKiQ7HoNOIDFlFzc/lb6uvr3qN0BRtB8yIr3vyuqKwmmBGaGMRcXrMXzBNPyN9jTRWqDKv uHGBFpDKOYxlgdGuRS2g==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1neWEd-00H2KR-Ok; Wed, 13 Apr 2022 06:12:12 +0000 Received: from sender4-op-o14.zoho.com ([136.143.188.14]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1neWB2-00H0d9-Cs; Wed, 13 Apr 2022 06:08:33 +0000 ARC-Seal: i=1; a=rsa-sha256; t=1649830093; cv=none; d=zohomail.com; s=zohoarc; b=HxLN/QLiCQ+RM6poc5lMejJm/4ZE30uuKJtac4LBa1V5YIJiCAFr7c3FRINtYpOmVJ09lRCoZRWkwJFuSAuSMk3hVHW15DGFA2NN0j9gRAOsUzks0FK1QV2508o2gYDJGh0Bpzs6Ps06ZKvhq4NvL1CG2w1+2I9vKBlwLOIf+8Q= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1649830093; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To; bh=T64RVpELLCvs3awQZyxnL3gIGoe8/MngxdFI+qg8tng=; b=j4KarLreEyuMgIcdcwe2dS62HthogvLpttpVLbqA3j1WcOGMEZSa6f+y7eWQjkXkBnnQnRf5E5/LyVB5qTwTgyCTetG0jTyYBIr1ey8iN2YwQUYscYXqTjJmrZBfb5M1Ky2C0lpl8SYQwJ2lXQZtzG6kyCHsm/P3Jr3ICkPiMJ4= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass header.i=arinc9.com; spf=pass smtp.mailfrom=arinc.unal@arinc9.com; dmarc=pass header.from= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1649830093; s=zmail; d=arinc9.com; i=arinc.unal@arinc9.com; h=From:From:To:To:Cc:Cc:Subject:Subject:Date:Date:Message-Id:Message-Id:In-Reply-To:References:MIME-Version:Content-Type:Content-Transfer-Encoding:Reply-To; bh=T64RVpELLCvs3awQZyxnL3gIGoe8/MngxdFI+qg8tng=; b=e1EJZvnsBx/+I/0ypgPmYvIjoMsAMQlAgjEYb44dH+dPy/0muQhz9ryLoS2z4YTo frPnjctYfZDuyWJR0Ro4xoXc6DReXNVxVDKP/pb2jP85AXYPgc8YpGzbVrh5I/pC6hN HMYAzP2FnI7wWwcNZXaAzGrJ30zduakDpChYxFPM= Received: from arinc9-PC.localdomain (85.117.236.245 [85.117.236.245]) by mx.zohomail.com with SMTPS id 1649830092041237.3768558657706; Tue, 12 Apr 2022 23:08:12 -0700 (PDT) From: =?utf-8?b?QXLEsW7DpyDDnE5BTA==?= To: Sergio Paracuellos , Luiz Angelo Daros de Luca , Linus Walleij , Rob Herring , Krzysztof Kozlowski , Thomas Bogendoerfer , Matthias Brugger Cc: erkin.bozoglu@xeront.com, =?utf-8?b?QXLEsW7DpyDDnE5BTA==?= , linux-gpio@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, linux-kernel@vger.kernel.org, linux-mips@vger.kernel.org Subject: [PATCH 04/14] pinctrl: ralink: rename pinctrl-rt288x to pinctrl-rt2880 Date: Wed, 13 Apr 2022 09:07:19 +0300 Message-Id: <20220413060729.27639-5-arinc.unal@arinc9.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220413060729.27639-1-arinc.unal@arinc9.com> References: <20220413060729.27639-1-arinc.unal@arinc9.com> MIME-Version: 1.0 X-ZohoMailClient: External X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220412_230828_662764_A0D8BA55 X-CRM114-Status: GOOD ( 13.28 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Rename "pinctrl-rt288x.c" to "pinctrl-rt2880.c" as this is the Ralink RT2880 pinctrl subdriver. Rename PINCTRL_RT288X symbol to PINCTRL_RT2880. Rename functions that include "rt288x" to "rt2880". Signed-off-by: Arınç ÜNAL --- drivers/pinctrl/ralink/Kconfig | 4 ++-- drivers/pinctrl/ralink/Makefile | 2 +- .../{pinctrl-rt288x.c => pinctrl-rt2880.c} | 18 +++++++++--------- 3 files changed, 12 insertions(+), 12 deletions(-) rename drivers/pinctrl/ralink/{pinctrl-rt288x.c => pinctrl-rt2880.c} (78%) diff --git a/drivers/pinctrl/ralink/Kconfig b/drivers/pinctrl/ralink/Kconfig index d0f0a8f2b9b7..aa82acfae827 100644 --- a/drivers/pinctrl/ralink/Kconfig +++ b/drivers/pinctrl/ralink/Kconfig @@ -17,8 +17,8 @@ config PINCTRL_MT7621 depends on RALINK && SOC_MT7621 select PINCTRL_RALINK -config PINCTRL_RT288X - bool "RT288X pinctrl driver for RALINK/Mediatek SOCs" +config PINCTRL_RT2880 + bool "RT2880 pinctrl driver for RALINK/Mediatek SOCs" depends on RALINK && SOC_RT288X select PINCTRL_RALINK diff --git a/drivers/pinctrl/ralink/Makefile b/drivers/pinctrl/ralink/Makefile index 2c1323b74e96..0ebbe552526d 100644 --- a/drivers/pinctrl/ralink/Makefile +++ b/drivers/pinctrl/ralink/Makefile @@ -3,6 +3,6 @@ obj-$(CONFIG_PINCTRL_RALINK) += pinctrl-ralink.o obj-$(CONFIG_PINCTRL_MT7620) += pinctrl-mt7620.o obj-$(CONFIG_PINCTRL_MT7621) += pinctrl-mt7621.o -obj-$(CONFIG_PINCTRL_RT288X) += pinctrl-rt288x.o +obj-$(CONFIG_PINCTRL_RT2880) += pinctrl-rt2880.o obj-$(CONFIG_PINCTRL_RT305X) += pinctrl-rt305x.o obj-$(CONFIG_PINCTRL_RT3883) += pinctrl-rt3883.o diff --git a/drivers/pinctrl/ralink/pinctrl-rt288x.c b/drivers/pinctrl/ralink/pinctrl-rt2880.c similarity index 78% rename from drivers/pinctrl/ralink/pinctrl-rt288x.c rename to drivers/pinctrl/ralink/pinctrl-rt2880.c index db5c09ed5601..9c5e828af43a 100644 --- a/drivers/pinctrl/ralink/pinctrl-rt288x.c +++ b/drivers/pinctrl/ralink/pinctrl-rt2880.c @@ -34,27 +34,27 @@ static struct ralink_pmx_group rt2880_pinmux_data_act[] = { { 0 } }; -static int rt288x_pinctrl_probe(struct platform_device *pdev) +static int rt2880_pinctrl_probe(struct platform_device *pdev) { return ralink_pinctrl_init(pdev, rt2880_pinmux_data_act); } -static const struct of_device_id rt288x_pinctrl_match[] = { +static const struct of_device_id rt2880_pinctrl_match[] = { { .compatible = "ralink,rt2880-pinmux" }, {} }; -MODULE_DEVICE_TABLE(of, rt288x_pinctrl_match); +MODULE_DEVICE_TABLE(of, rt2880_pinctrl_match); -static struct platform_driver rt288x_pinctrl_driver = { - .probe = rt288x_pinctrl_probe, +static struct platform_driver rt2880_pinctrl_driver = { + .probe = rt2880_pinctrl_probe, .driver = { .name = "rt2880-pinmux", - .of_match_table = rt288x_pinctrl_match, + .of_match_table = rt2880_pinctrl_match, }, }; -static int __init rt288x_pinctrl_init(void) +static int __init rt2880_pinctrl_init(void) { - return platform_driver_register(&rt288x_pinctrl_driver); + return platform_driver_register(&rt2880_pinctrl_driver); } -core_initcall_sync(rt288x_pinctrl_init); +core_initcall_sync(rt2880_pinctrl_init);