From patchwork Fri Aug 11 13:03:41 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adrian Hunter X-Patchwork-Id: 134550 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b824:0:b0:3f2:4152:657d with SMTP id z4csp1161069vqi; Fri, 11 Aug 2023 08:07:31 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEHHkZDpETWXUYVoW9QYY+sadn3TsVnzJpe99zTgDM8ACV4U23jYWusBF/qCfZtxdojZPtQ X-Received: by 2002:a17:902:f545:b0:1b9:e972:134d with SMTP id h5-20020a170902f54500b001b9e972134dmr1882008plf.3.1691766450892; Fri, 11 Aug 2023 08:07:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1691766450; cv=none; d=google.com; s=arc-20160816; b=1EpxxdQEkqwmPtxGlemQ1Q1hohwL0o/Wj2z+7rkm+M6nTidjeM3HWvveg5YsY+Jz37 /V6vad7l0GpLdx8jWiw9p3R3COtlTL+1ilf83EyC2z6pXczOQFqYbOSZkC6Fl0ZqBfC0 i+D6Y17AcAVLVMDCKKktWa8NgHuPPXB9ahfIgGXAvtth3Gfs41Do814NP0HYs3yrjlAH C30t9TYXp/ootRxWkV5dQy6vKOk74o44APjrMtCRp8rOCD01BOGsRKDjMQ4LV7usT4Xz uzCqIgguvUs/CARBRe3n4ZkmHCLe7xZGp59xLVjCGDCVAR9i34/VEVV2pTKq1tnGm5Dx PwVQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:organization :mime-version:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=CwfFSwn9k3AwRGGZFAuek5514KrUis5ExsVlVeZCYfI=; fh=1illQt2rvZm/duIamif60BE+Ziytl52XIUdvA193/Ac=; b=T8o+d3Yrk1CZgYjRVSNKIf/wqPEwA6xpLwE3OBaprrvjfGuSVqL02HsR/v927sYAOy lG3j9oF8AnMkcCnTYaa5gKkznkiKe18UHyH3HQ783gasTTLsU4GVpD5MfQ4eepnyz8US q/pQfVpv6dLHXLwDIjYoSzLbxtg3aLjuiC8re9GsG4EJyMcBBe7eUxaDpcy4MSMKN3VU MANvC8r2k9dP/JH5IeKCnUOx+/bdMxYpmd7Qc8FK+X2QCn/bicDEP20IE7sx1p1e8LsK 0eXo+NtSvCI0GNJzURgs0C8e7VjIrvSYjR3txKoyVjA3ru7fjjlrYwMhf/qJwZZjN4rR zBdw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=VafyRfjQ; 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=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id lx17-20020a17090b4b1100b0026306246efdsi6127866pjb.84.2023.08.11.08.07.17; Fri, 11 Aug 2023 08:07:30 -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; dkim=pass header.i=@intel.com header.s=Intel header.b=VafyRfjQ; 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=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233602AbjHKNFu (ORCPT + 99 others); Fri, 11 Aug 2023 09:05:50 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45168 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236596AbjHKNFa (ORCPT ); Fri, 11 Aug 2023 09:05:30 -0400 Received: from mgamail.intel.com (mgamail.intel.com [134.134.136.20]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E438335A8; Fri, 11 Aug 2023 06:05:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1691759109; x=1723295109; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=1In5kSRWhvZHc7zpV71cszO6jwa5BLGsLz6bC4bc1BU=; b=VafyRfjQLDI5FpTJsC6kjvpKHRlip/avsUXXk54gkvvMtMWZk+Feuyud 2ge2FbyNW6hzvEQJejnnKi17PZrH+RaShc4ozoytdWyCKFtfoL6d7iqLK aIpFvPUTviSSgm2eTUjrK1eF/PsFzEW7i7O3RP/BQJXWINNOpqGTAUxQ9 D812MKaAoe4DQO1jYvx8ZSAEJZEdf2CykpzjsB+cQHmkLlBq4mC6ET5Ed Q35aFSRWP8idFwF3S/COyL0pGKQ+3LSfRScjKW8m4w7xQ13AGBRKII/oD cwmpBQ4ElmgjiRHpPAz0D9+RqP9XdMlrz6srfWnUYjcHA8GpJzgiFKghg w==; X-IronPort-AV: E=McAfee;i="6600,9927,10798"; a="361811887" X-IronPort-AV: E=Sophos;i="6.01,165,1684825200"; d="scan'208";a="361811887" Received: from orsmga006.jf.intel.com ([10.7.209.51]) by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 11 Aug 2023 06:05:04 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10798"; a="709535242" X-IronPort-AV: E=Sophos;i="6.01,165,1684825200"; d="scan'208";a="709535242" Received: from ahunter6-mobl1.ger.corp.intel.com (HELO ahunter-VirtualBox.home\044ger.corp.intel.com) ([10.252.51.13]) by orsmga006-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 11 Aug 2023 06:04:55 -0700 From: Adrian Hunter To: Ulf Hansson , Andy Shevchenko , =?utf-8?q?Uwe_Kleine-K?= =?utf-8?q?=C3=B6nig?= , Yangtao Li Cc: Florian Fainelli , Ray Jui , Scott Branden , Broadcom internal kernel review list , Kamal Dasu , Al Cooper , Michal Simek , Eugen Hristev , Nicolas Ferre , Alexandre Belloni , Claudiu Beznea , Lars Povlsen , Steen Hegelund , Daniel Machon , UNGLinuxDriver@microchip.com, Patrice Chotard , Brian Norris , Ye Xingchen , Brad Larson , Christophe JAILLET , Sai Krishna Potthuri , Swati Agarwal , Andy Tang , Georgii Kruglov , Jiapeng Chong , Doug Brown , Li Zetao , Kunihiko Hayashi , Jassi Brar , linux-mmc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH 06/16] mmc: sdhci_f_sdh30: Use sdhci_pltfm_remove() Date: Fri, 11 Aug 2023 16:03:41 +0300 Message-Id: <20230811130351.7038-7-adrian.hunter@intel.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230811130351.7038-1-adrian.hunter@intel.com> References: <20230811130351.7038-1-adrian.hunter@intel.com> MIME-Version: 1.0 Organization: Intel Finland Oy, Registered Address: PL 281, 00181 Helsinki, Business Identity Code: 0357606 - 4, Domiciled in Helsinki X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, RCVD_IN_DNSWL_BLOCKED,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL, SPF_HELO_NONE,SPF_NONE,URIBL_BLOCKED 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 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1773945698050285378 X-GMAIL-MSGID: 1773945698050285378 Use sdhci_pltfm_remove() instead of sdhci_pltfm_unregister() because sdhci_pltfm_unregister() is going to be removed. Signed-off-by: Adrian Hunter --- drivers/mmc/host/sdhci_f_sdh30.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mmc/host/sdhci_f_sdh30.c b/drivers/mmc/host/sdhci_f_sdh30.c index 47ae853f51aa..c58e7cb1e2a7 100644 --- a/drivers/mmc/host/sdhci_f_sdh30.c +++ b/drivers/mmc/host/sdhci_f_sdh30.c @@ -214,7 +214,7 @@ static void sdhci_f_sdh30_remove(struct platform_device *pdev) struct reset_control *rst = priv->rst; struct clk *clk = priv->clk; - sdhci_pltfm_unregister(pdev); + sdhci_pltfm_remove(pdev); reset_control_assert(rst); clk_disable_unprepare(clk);