From nobody Thu Sep 11 23:32:34 2025 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 342D8C001B0 for ; Tue, 8 Aug 2023 18:28:30 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234992AbjHHS23 (ORCPT ); Tue, 8 Aug 2023 14:28:29 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39158 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235374AbjHHS2F (ORCPT ); Tue, 8 Aug 2023 14:28:05 -0400 Received: from szxga02-in.huawei.com (szxga02-in.huawei.com [45.249.212.188]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 26F1425ED9 for ; Tue, 8 Aug 2023 10:46:23 -0700 (PDT) Received: from dggpeml500025.china.huawei.com (unknown [172.30.72.56]) by szxga02-in.huawei.com (SkyGuard) with ESMTP id 4RKtWQ4XnnzNn17; Tue, 8 Aug 2023 20:57:22 +0800 (CST) Received: from ubuntu1804.huawei.com (10.67.174.202) by dggpeml500025.china.huawei.com (7.185.36.35) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.27; Tue, 8 Aug 2023 21:00:50 +0800 From: Zhu Wang To: , , , , , CC: Subject: [PATCH -next 1/8] mfd: rsmu_i2c: remove redundant of_match_ptr() Date: Tue, 8 Aug 2023 21:00:16 +0800 Message-ID: <20230808130023.202700-2-wangzhu9@huawei.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20230808130023.202700-1-wangzhu9@huawei.com> References: <20230808130023.202700-1-wangzhu9@huawei.com> MIME-Version: 1.0 X-Originating-IP: [10.67.174.202] X-ClientProxiedBy: dggems704-chm.china.huawei.com (10.3.19.181) To dggpeml500025.china.huawei.com (7.185.36.35) X-CFilter-Loop: Reflected Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" The driver depends on CONFIG_OF, so it is not necessary to use of_match_ptr() here. We remove of_match_ptr() here. Signed-off-by: Zhu Wang --- drivers/mfd/rsmu_i2c.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mfd/rsmu_i2c.c b/drivers/mfd/rsmu_i2c.c index 26972a5aff45..06d78a1cf1cc 100644 --- a/drivers/mfd/rsmu_i2c.c +++ b/drivers/mfd/rsmu_i2c.c @@ -277,7 +277,7 @@ MODULE_DEVICE_TABLE(of, rsmu_i2c_of_match); static struct i2c_driver rsmu_i2c_driver =3D { .driver =3D { .name =3D "rsmu-i2c", - .of_match_table =3D of_match_ptr(rsmu_i2c_of_match), + .of_match_table =3D rsmu_i2c_of_match, }, .probe =3D rsmu_i2c_probe, .remove =3D rsmu_i2c_remove, --=20 2.17.1 From nobody Thu Sep 11 23:32:34 2025 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id A3CD3C001DB for ; Tue, 8 Aug 2023 18:28:11 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235805AbjHHS2K (ORCPT ); Tue, 8 Aug 2023 14:28:10 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33518 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235732AbjHHS1r (ORCPT ); Tue, 8 Aug 2023 14:27:47 -0400 Received: from szxga02-in.huawei.com (szxga02-in.huawei.com [45.249.212.188]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8664FA9E93 for ; Tue, 8 Aug 2023 10:46:21 -0700 (PDT) Received: from dggpeml500025.china.huawei.com (unknown [172.30.72.54]) by szxga02-in.huawei.com (SkyGuard) with ESMTP id 4RKtWR2nJmzNn1r; Tue, 8 Aug 2023 20:57:23 +0800 (CST) Received: from ubuntu1804.huawei.com (10.67.174.202) by dggpeml500025.china.huawei.com (7.185.36.35) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.27; Tue, 8 Aug 2023 21:00:51 +0800 From: Zhu Wang To: , , , , , CC: Subject: [PATCH -next 2/8] mfd: altera-a10sr: remove redundant of_match_ptr() Date: Tue, 8 Aug 2023 21:00:17 +0800 Message-ID: <20230808130023.202700-3-wangzhu9@huawei.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20230808130023.202700-1-wangzhu9@huawei.com> References: <20230808130023.202700-1-wangzhu9@huawei.com> MIME-Version: 1.0 X-Originating-IP: [10.67.174.202] X-ClientProxiedBy: dggems704-chm.china.huawei.com (10.3.19.181) To dggpeml500025.china.huawei.com (7.185.36.35) X-CFilter-Loop: Reflected Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" The driver depends on CONFIG_OF, so it is not necessary to use of_match_ptr() here. We remove of_match_ptr() here. Signed-off-by: Zhu Wang --- drivers/mfd/altera-a10sr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mfd/altera-a10sr.c b/drivers/mfd/altera-a10sr.c index 34ef526f4aee..d53e433ab5c1 100644 --- a/drivers/mfd/altera-a10sr.c +++ b/drivers/mfd/altera-a10sr.c @@ -163,7 +163,7 @@ static struct spi_driver altr_a10sr_spi_driver =3D { .probe =3D altr_a10sr_spi_probe, .driver =3D { .name =3D "altr_a10sr", - .of_match_table =3D of_match_ptr(altr_a10sr_spi_of_match), + .of_match_table =3D altr_a10sr_spi_of_match, }, .id_table =3D altr_a10sr_spi_ids, }; --=20 2.17.1 From nobody Thu Sep 11 23:32:34 2025 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 00434C001B0 for ; Tue, 8 Aug 2023 18:45:18 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231679AbjHHSpS (ORCPT ); Tue, 8 Aug 2023 14:45:18 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40962 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233864AbjHHSom (ORCPT ); Tue, 8 Aug 2023 14:44:42 -0400 Received: from szxga03-in.huawei.com (szxga03-in.huawei.com [45.249.212.189]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 191323D1B5 for ; Tue, 8 Aug 2023 09:41:34 -0700 (PDT) Received: from dggpeml500025.china.huawei.com (unknown [172.30.72.53]) by szxga03-in.huawei.com (SkyGuard) with ESMTP id 4RKtXC2rJ5z1hwFL; Tue, 8 Aug 2023 20:58:03 +0800 (CST) Received: from ubuntu1804.huawei.com (10.67.174.202) by dggpeml500025.china.huawei.com (7.185.36.35) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.27; Tue, 8 Aug 2023 21:00:52 +0800 From: Zhu Wang To: , , , , , CC: Subject: [PATCH -next 3/8] mfd: rsmu_spi: remove redundant of_match_ptr() Date: Tue, 8 Aug 2023 21:00:18 +0800 Message-ID: <20230808130023.202700-4-wangzhu9@huawei.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20230808130023.202700-1-wangzhu9@huawei.com> References: <20230808130023.202700-1-wangzhu9@huawei.com> MIME-Version: 1.0 X-Originating-IP: [10.67.174.202] X-ClientProxiedBy: dggems704-chm.china.huawei.com (10.3.19.181) To dggpeml500025.china.huawei.com (7.185.36.35) X-CFilter-Loop: Reflected Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" The driver depends on CONFIG_OF, so it is not necessary to use of_match_ptr() here. We remove of_match_ptr() here. Signed-off-by: Zhu Wang --- drivers/mfd/rsmu_spi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mfd/rsmu_spi.c b/drivers/mfd/rsmu_spi.c index a4a595bb8d0d..ca0a1202c3ce 100644 --- a/drivers/mfd/rsmu_spi.c +++ b/drivers/mfd/rsmu_spi.c @@ -262,7 +262,7 @@ MODULE_DEVICE_TABLE(of, rsmu_spi_of_match); static struct spi_driver rsmu_spi_driver =3D { .driver =3D { .name =3D "rsmu-spi", - .of_match_table =3D of_match_ptr(rsmu_spi_of_match), + .of_match_table =3D rsmu_spi_of_match, }, .probe =3D rsmu_spi_probe, .remove =3D rsmu_spi_remove, --=20 2.17.1 From nobody Thu Sep 11 23:32:34 2025 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id D3B4DC41513 for ; Tue, 8 Aug 2023 18:28:12 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235930AbjHHS2M (ORCPT ); Tue, 8 Aug 2023 14:28:12 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60410 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235783AbjHHS1t (ORCPT ); Tue, 8 Aug 2023 14:27:49 -0400 Received: from szxga02-in.huawei.com (szxga02-in.huawei.com [45.249.212.188]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 94CCAA9E95 for ; Tue, 8 Aug 2023 10:46:21 -0700 (PDT) Received: from dggpeml500025.china.huawei.com (unknown [172.30.72.53]) by szxga02-in.huawei.com (SkyGuard) with ESMTP id 4RKtWS69zDzNn1s; Tue, 8 Aug 2023 20:57:24 +0800 (CST) Received: from ubuntu1804.huawei.com (10.67.174.202) by dggpeml500025.china.huawei.com (7.185.36.35) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.27; Tue, 8 Aug 2023 21:00:53 +0800 From: Zhu Wang To: , , , , , CC: Subject: [PATCH -next 4/8] mfd: act8945a: remove redundant of_match_ptr() Date: Tue, 8 Aug 2023 21:00:19 +0800 Message-ID: <20230808130023.202700-5-wangzhu9@huawei.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20230808130023.202700-1-wangzhu9@huawei.com> References: <20230808130023.202700-1-wangzhu9@huawei.com> MIME-Version: 1.0 X-Originating-IP: [10.67.174.202] X-ClientProxiedBy: dggems704-chm.china.huawei.com (10.3.19.181) To dggpeml500025.china.huawei.com (7.185.36.35) X-CFilter-Loop: Reflected Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" The driver depends on CONFIG_OF, so it is not necessary to use of_match_ptr() here. We remove of_match_ptr() here. Signed-off-by: Zhu Wang --- drivers/mfd/act8945a.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mfd/act8945a.c b/drivers/mfd/act8945a.c index 2406fcdff5f9..e8c4b401d0d0 100644 --- a/drivers/mfd/act8945a.c +++ b/drivers/mfd/act8945a.c @@ -68,7 +68,7 @@ MODULE_DEVICE_TABLE(of, act8945a_of_match); static struct i2c_driver act8945a_i2c_driver =3D { .driver =3D { .name =3D "act8945a", - .of_match_table =3D of_match_ptr(act8945a_of_match), + .of_match_table =3D act8945a_of_match, }, .probe =3D act8945a_i2c_probe, .id_table =3D act8945a_i2c_id, --=20 2.17.1 From nobody Thu Sep 11 23:32:34 2025 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 9149AC001DB for ; Tue, 8 Aug 2023 18:28:15 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235839AbjHHS2O (ORCPT ); Tue, 8 Aug 2023 14:28:14 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39424 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235793AbjHHS1u (ORCPT ); Tue, 8 Aug 2023 14:27:50 -0400 Received: from szxga02-in.huawei.com (szxga02-in.huawei.com [45.249.212.188]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 94EE2A9E96 for ; Tue, 8 Aug 2023 10:46:21 -0700 (PDT) Received: from dggpeml500025.china.huawei.com (unknown [172.30.72.54]) by szxga02-in.huawei.com (SkyGuard) with ESMTP id 4RKtWT4CXdzNn1w; Tue, 8 Aug 2023 20:57:25 +0800 (CST) Received: from ubuntu1804.huawei.com (10.67.174.202) by dggpeml500025.china.huawei.com (7.185.36.35) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.27; Tue, 8 Aug 2023 21:00:53 +0800 From: Zhu Wang To: , , , , , CC: Subject: [PATCH -next 5/8] mfd: stpmic1: remove redundant of_match_ptr() Date: Tue, 8 Aug 2023 21:00:20 +0800 Message-ID: <20230808130023.202700-6-wangzhu9@huawei.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20230808130023.202700-1-wangzhu9@huawei.com> References: <20230808130023.202700-1-wangzhu9@huawei.com> MIME-Version: 1.0 X-Originating-IP: [10.67.174.202] X-ClientProxiedBy: dggems704-chm.china.huawei.com (10.3.19.181) To dggpeml500025.china.huawei.com (7.185.36.35) X-CFilter-Loop: Reflected Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" The driver depends on CONFIG_OF, so it is not necessary to use of_match_ptr() here. We remove of_match_ptr() here. Signed-off-by: Zhu Wang --- drivers/mfd/stpmic1.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mfd/stpmic1.c b/drivers/mfd/stpmic1.c index 3cc7492f828f..c5128fe96cc7 100644 --- a/drivers/mfd/stpmic1.c +++ b/drivers/mfd/stpmic1.c @@ -219,7 +219,7 @@ MODULE_DEVICE_TABLE(of, stpmic1_of_match); static struct i2c_driver stpmic1_driver =3D { .driver =3D { .name =3D "stpmic1", - .of_match_table =3D of_match_ptr(stpmic1_of_match), + .of_match_table =3D stpmic1_of_match, .pm =3D pm_sleep_ptr(&stpmic1_pm), }, .probe =3D stpmic1_probe, --=20 2.17.1 From nobody Thu Sep 11 23:32:34 2025 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 8CBE3C04A6A for ; Tue, 8 Aug 2023 19:23:36 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236118AbjHHTXf (ORCPT ); Tue, 8 Aug 2023 15:23:35 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35786 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235929AbjHHTXa (ORCPT ); Tue, 8 Aug 2023 15:23:30 -0400 Received: from szxga01-in.huawei.com (szxga01-in.huawei.com [45.249.212.187]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 03E97268EF for ; Tue, 8 Aug 2023 10:49:28 -0700 (PDT) Received: from dggpeml500025.china.huawei.com (unknown [172.30.72.53]) by szxga01-in.huawei.com (SkyGuard) with ESMTP id 4RKtWV2bdXztS1t; Tue, 8 Aug 2023 20:57:26 +0800 (CST) Received: from ubuntu1804.huawei.com (10.67.174.202) by dggpeml500025.china.huawei.com (7.185.36.35) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.27; Tue, 8 Aug 2023 21:00:54 +0800 From: Zhu Wang To: , , , , , CC: Subject: [PATCH -next 6/8] mfd: hi655x-pmic: remove redundant of_match_ptr() Date: Tue, 8 Aug 2023 21:00:21 +0800 Message-ID: <20230808130023.202700-7-wangzhu9@huawei.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20230808130023.202700-1-wangzhu9@huawei.com> References: <20230808130023.202700-1-wangzhu9@huawei.com> MIME-Version: 1.0 X-Originating-IP: [10.67.174.202] X-ClientProxiedBy: dggems704-chm.china.huawei.com (10.3.19.181) To dggpeml500025.china.huawei.com (7.185.36.35) X-CFilter-Loop: Reflected Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" The driver depends on CONFIG_OF, so it is not necessary to use of_match_ptr() here. We remove of_match_ptr() here. Signed-off-by: Zhu Wang --- drivers/mfd/hi655x-pmic.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mfd/hi655x-pmic.c b/drivers/mfd/hi655x-pmic.c index 98ae40ee3f05..91807431a1d6 100644 --- a/drivers/mfd/hi655x-pmic.c +++ b/drivers/mfd/hi655x-pmic.c @@ -162,7 +162,7 @@ MODULE_DEVICE_TABLE(of, hi655x_pmic_match); static struct platform_driver hi655x_pmic_driver =3D { .driver =3D { .name =3D "hi655x-pmic", - .of_match_table =3D of_match_ptr(hi655x_pmic_match), + .of_match_table =3D hi655x_pmic_match, }, .probe =3D hi655x_pmic_probe, .remove =3D hi655x_pmic_remove, --=20 2.17.1 From nobody Thu Sep 11 23:32:34 2025 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 19232C001B0 for ; Tue, 8 Aug 2023 19:06:07 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234021AbjHHTGF (ORCPT ); Tue, 8 Aug 2023 15:06:05 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40736 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230036AbjHHTFk (ORCPT ); Tue, 8 Aug 2023 15:05:40 -0400 Received: from szxga03-in.huawei.com (szxga03-in.huawei.com [45.249.212.189]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D442DB4966 for ; Tue, 8 Aug 2023 10:50:47 -0700 (PDT) Received: from dggpeml500025.china.huawei.com (unknown [172.30.72.56]) by szxga03-in.huawei.com (SkyGuard) with ESMTP id 4RKtXG21bGz1hwGC; Tue, 8 Aug 2023 20:58:06 +0800 (CST) Received: from ubuntu1804.huawei.com (10.67.174.202) by dggpeml500025.china.huawei.com (7.185.36.35) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.27; Tue, 8 Aug 2023 21:00:55 +0800 From: Zhu Wang To: , , , , , CC: Subject: [PATCH -next 7/8] mfd: lochnagar-i2c: remove redundant of_match_ptr() Date: Tue, 8 Aug 2023 21:00:22 +0800 Message-ID: <20230808130023.202700-8-wangzhu9@huawei.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20230808130023.202700-1-wangzhu9@huawei.com> References: <20230808130023.202700-1-wangzhu9@huawei.com> MIME-Version: 1.0 X-Originating-IP: [10.67.174.202] X-ClientProxiedBy: dggems704-chm.china.huawei.com (10.3.19.181) To dggpeml500025.china.huawei.com (7.185.36.35) X-CFilter-Loop: Reflected Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" The driver depends on CONFIG_OF, so it is not necessary to use of_match_ptr() here. We remove of_match_ptr() here. Signed-off-by: Zhu Wang Acked-by: Charles Keepax --- drivers/mfd/lochnagar-i2c.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mfd/lochnagar-i2c.c b/drivers/mfd/lochnagar-i2c.c index 3c8843117080..59092f839d65 100644 --- a/drivers/mfd/lochnagar-i2c.c +++ b/drivers/mfd/lochnagar-i2c.c @@ -379,7 +379,7 @@ static int lochnagar_i2c_probe(struct i2c_client *i2c) static struct i2c_driver lochnagar_i2c_driver =3D { .driver =3D { .name =3D "lochnagar", - .of_match_table =3D of_match_ptr(lochnagar_of_match), + .of_match_table =3D lochnagar_of_match, .suppress_bind_attrs =3D true, }, .probe =3D lochnagar_i2c_probe, --=20 2.17.1 From nobody Thu Sep 11 23:32:34 2025 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id D40D9C001B0 for ; Tue, 8 Aug 2023 16:11:51 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232086AbjHHQLv (ORCPT ); Tue, 8 Aug 2023 12:11:51 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:32912 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231801AbjHHQJr (ORCPT ); Tue, 8 Aug 2023 12:09:47 -0400 Received: from szxga01-in.huawei.com (szxga01-in.huawei.com [45.249.212.187]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6C0BB7AA3 for ; Tue, 8 Aug 2023 08:46:32 -0700 (PDT) Received: from dggpeml500025.china.huawei.com (unknown [172.30.72.55]) by szxga01-in.huawei.com (SkyGuard) with ESMTP id 4RKtZ92Nd6zrSJm; Tue, 8 Aug 2023 20:59:45 +0800 (CST) Received: from ubuntu1804.huawei.com (10.67.174.202) by dggpeml500025.china.huawei.com (7.185.36.35) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.27; Tue, 8 Aug 2023 21:00:55 +0800 From: Zhu Wang To: , , , , , CC: Subject: [PATCH -next 8/8] mfd: rn5t618: remove redundant of_match_ptr() Date: Tue, 8 Aug 2023 21:00:23 +0800 Message-ID: <20230808130023.202700-9-wangzhu9@huawei.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20230808130023.202700-1-wangzhu9@huawei.com> References: <20230808130023.202700-1-wangzhu9@huawei.com> MIME-Version: 1.0 X-Originating-IP: [10.67.174.202] X-ClientProxiedBy: dggems704-chm.china.huawei.com (10.3.19.181) To dggpeml500025.china.huawei.com (7.185.36.35) X-CFilter-Loop: Reflected Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" The driver depends on CONFIG_OF, so it is not necessary to use of_match_ptr() here. We remove of_match_ptr() here. Signed-off-by: Zhu Wang --- drivers/mfd/rn5t618.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mfd/rn5t618.c b/drivers/mfd/rn5t618.c index 333fef8729a5..0fe616b2db8e 100644 --- a/drivers/mfd/rn5t618.c +++ b/drivers/mfd/rn5t618.c @@ -277,7 +277,7 @@ static SIMPLE_DEV_PM_OPS(rn5t618_i2c_dev_pm_ops, static struct i2c_driver rn5t618_i2c_driver =3D { .driver =3D { .name =3D "rn5t618", - .of_match_table =3D of_match_ptr(rn5t618_of_match), + .of_match_table =3D rn5t618_of_match, .pm =3D &rn5t618_i2c_dev_pm_ops, }, .probe =3D rn5t618_i2c_probe, --=20 2.17.1