Received: by 2002:a05:6359:6284:b0:131:369:b2a3 with SMTP id se4csp4493189rwb; Tue, 8 Aug 2023 09:13:37 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEOjOCUaHzPhuCx4Zg/FCO71+TN6794tRrOpDILy0AaV09LCKVTf/Sii/AUWuO/RawGRXPn X-Received: by 2002:a17:906:847b:b0:982:25d1:bfd3 with SMTP id hx27-20020a170906847b00b0098225d1bfd3mr60342ejc.15.1691511216760; Tue, 08 Aug 2023 09:13:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1691511216; cv=none; d=google.com; s=arc-20160816; b=ZIh3vS1wm4EzAsFyJ8KEzRLpobeeE8Cgi3N3m4aJ8QYsfdsw7ascmuI+4bpK6GFTEY fQGBl2RmsJKyZ7ilmEF4vaVwFcHY0yJUT6tNCNdz6Qmd5rAVFSX59CC273p6tQa2mzUA iW4+7g6NZ2COA3IW/XU8VHiwbfuT7yukUU3RaB/Z6eENRijD6jSWcxKVrxhean3INQpk TvDd/fAqwe4k0GbJ2VjMzKd/foOZjjMOKSlwbcFryHfoRmmTTgsZrFZVve+tbTX9nlJ1 U+9YTAPCHUIJR8S3/jas2qpTGIbwIGRrfJXBoFgdIxrWAnqPm2t2utfPtbX/LcutlJUu bgzQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:references:in-reply-to:message-id :date:subject:cc:to:from; bh=KoeCtmHTEQyaPtecNpsHfEUTPU0S0J8rfMZSSGpBeQ8=; fh=TgmqQsx3Xvsy4/0kabOISrpv5CcF0f8UuJ/oFrkWwIY=; b=hhLS3XhTwXoPdjxx00tlibl5pNdxhdCezmW5XWAm8iaQTE224LsJf4mW9ydAo+M7GV Tsv3dDpSYgWkbTW+hkGzVy/9kT0WLEqozF6S152cA8cPyr5HaezmRN1lFKAxs8ralD9y ODGlTnXuXVHpwRETN6v7a11r1YPaO0f9Lr5Ul1xLH6K7qkZXAB92t/84DIRb8nehmqUX lzySEzo/DwUhchqLgalQKncO5F31W4XisasYxvZmOehCRkSPUehEoIAcIhCTec+VxyFY bo7Vv8Lx+p04cw6F/F0f9P/tSwqOTMHv83El9rRRfHyo+lwPvAENgHMr2A/iIy6aPNu1 969g== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id e26-20020a170906c01a00b0098df03ffa69si7355164ejz.421.2023.08.08.09.13.10; Tue, 08 Aug 2023 09:13:36 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232085AbjHHQLu (ORCPT + 99 others); Tue, 8 Aug 2023 12:11:50 -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 Content-Type: text/plain 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 X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_BLOCKED,RCVD_IN_MSPIKE_H5,RCVD_IN_MSPIKE_WL, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 = { .driver = { .name = "rn5t618", - .of_match_table = of_match_ptr(rn5t618_of_match), + .of_match_table = rn5t618_of_match, .pm = &rn5t618_i2c_dev_pm_ops, }, .probe = rn5t618_i2c_probe, -- 2.17.1