From patchwork Tue Aug 8 13:37:12 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Zhu Wang X-Patchwork-Id: 711804 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 1D511C001DB for ; Tue, 8 Aug 2023 18:14:35 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234734AbjHHSOe (ORCPT ); Tue, 8 Aug 2023 14:14:34 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42870 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234802AbjHHSOC (ORCPT ); Tue, 8 Aug 2023 14:14:02 -0400 Received: from szxga01-in.huawei.com (szxga01-in.huawei.com [45.249.212.187]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 10F5874AE3 for ; Tue, 8 Aug 2023 10:19:42 -0700 (PDT) Received: from dggpeml500025.china.huawei.com (unknown [172.30.72.56]) by szxga01-in.huawei.com (SkyGuard) with ESMTP id 4RKvKw1pm6ztRrM; Tue, 8 Aug 2023 21:34:12 +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:37:40 +0800 From: Zhu Wang To: , , , , , , CC: Subject: [PATCH -next 0/2] mmc: host: remove redundant of_match_ptr() Date: Tue, 8 Aug 2023 21:37:12 +0800 Message-ID: <20230808133714.214914-1-wangzhu9@huawei.com> X-Mailer: git-send-email 2.17.1 MIME-Version: 1.0 X-Originating-IP: [10.67.174.202] X-ClientProxiedBy: dggems706-chm.china.huawei.com (10.3.19.183) To dggpeml500025.china.huawei.com (7.185.36.35) X-CFilter-Loop: Reflected Precedence: bulk List-ID: X-Mailing-List: linux-mmc@vger.kernel.org The driver depends on CONFIG_OF, so it is not necessary to use of_match_ptr() here. We remove both CONFIG_OF and of_match_ptr() here. Zhu Wang (2): mmc: sdhci-spear: remove redundant of_match_ptr() mmc: sdhci: milbeaut: remove redundant of_match_ptr() drivers/mmc/host/sdhci-milbeaut.c | 2 +- drivers/mmc/host/sdhci-spear.c | 4 +--- 2 files changed, 2 insertions(+), 4 deletions(-)