From patchwork Fri Aug 11 13:03:44 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adrian Hunter X-Patchwork-Id: 13350875 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 CF5C8C001DB for ; Fri, 11 Aug 2023 13:06:39 +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:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=TvPkOCgHliF8S+xh+bSTMqO6OTFmYv4snz6JWd/6RyU=; b=caS4Atg4ETnPI7 fVVMg07NGuGRkgd0CrTpAEjYwQEHyubfe8GJRW6inpPzhQuNRzWZkASC8DoXjEhKVR3H1dZR06m5W p8QLmC2cbHvGl3S+O5qwocKTFhoKvJ0luDo0OMIorcWtlbcc7+O+SyYyrLtuu3LIS+WuzCWNNcZnR 4V1yNRn4VM4wGogm6C0ObyLK3Em4OFH1Hr0c/puFwSUeU5X2MKhHjHkz9lVLuAI5tgpUOy29KWZR7 Hno+SHkI5KwaweM06dS5oAXXwMbB0Smac6h+2Yd8pHs/reC/rZleLz6SfrZtA327pSVHV0byWrp2+ i6DJvAYa6wxEAHsa+lRA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qURqJ-00Afsn-0n; Fri, 11 Aug 2023 13:06:15 +0000 Received: from mgamail.intel.com ([134.134.136.20]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qURqG-00Afrz-2b for linux-arm-kernel@lists.infradead.org; Fri, 11 Aug 2023 13:06:14 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1691759172; x=1723295172; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=1wMuUWk+qLV1632Awen/X3G20KWSG3w5FhLYhGIunT8=; b=SDkfP3k4dQAgqaoYzFtwgf9SBhHOsjpSpFZFokvqw7Gy+cvmGGWOWZhQ 7Ym9k/rB/OtAvg7JvOMCQmC6CjZYgu79z6rvQphKBL/osmpLdLzj3mq7u +iqGxoOn4n+j4hDsI7knnkBk87LnbYjVFvcmE5kI2RRpAq0kkBZ2c2/3d kXtNhbDFv8lGQCez3H6EOtBwKJZN6uDeEfMVPQsm24CPO/XdkS/UWtVa6 XGYdVHzr9fOPgoYMIl7dkhc1wSlOCMQaCNwDMP90HoyU0tqRbTFBx+j2E yBNPFSzTO+X1wsIkYadhgIM6fAU5RcDpVJxUkRj77yD+vjrfXvGTv2+iA w==; X-IronPort-AV: E=McAfee;i="6600,9927,10798"; a="361812401" X-IronPort-AV: E=Sophos;i="6.01,165,1684825200"; d="scan'208";a="361812401" 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:30 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10798"; a="709535264" X-IronPort-AV: E=Sophos;i="6.01,165,1684825200"; d="scan'208";a="709535264" 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:05:21 -0700 From: Adrian Hunter To: Ulf Hansson , Andy Shevchenko , =?utf-8?q?Uwe_Kleine-K?= =?utf-8?q?=C3=B6nig?= , Yangtao Li Subject: [PATCH 09/16] mmc: sdhci-of-at91: Use sdhci_pltfm_remove() Date: Fri, 11 Aug 2023 16:03:44 +0300 Message-Id: <20230811130351.7038-10-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-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230811_060612_990033_77BD70FF X-CRM114-Status: GOOD ( 12.99 ) 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: , Cc: Alexandre Belloni , Kunihiko Hayashi , Al Cooper , Li Zetao , Brad Larson , Swati Agarwal , linux-kernel@vger.kernel.org, Sai Krishna Potthuri , Jiapeng Chong , Florian Fainelli , Steen Hegelund , Brian Norris , Broadcom internal kernel review list , linux-arm-kernel@lists.infradead.org, Ye Xingchen , Patrice Chotard , Kamal Dasu , Doug Brown , Daniel Machon , Ray Jui , Eugen Hristev , Jassi Brar , Christophe JAILLET , Georgii Kruglov , Michal Simek , Lars Povlsen , Andy Tang , Scott Branden , linux-mmc@vger.kernel.org, UNGLinuxDriver@microchip.com, Claudiu Beznea Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org 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-of-at91.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mmc/host/sdhci-of-at91.c b/drivers/mmc/host/sdhci-of-at91.c index db01ea9fa203..23a9faad2ff8 100644 --- a/drivers/mmc/host/sdhci-of-at91.c +++ b/drivers/mmc/host/sdhci-of-at91.c @@ -456,7 +456,7 @@ static void sdhci_at91_remove(struct platform_device *pdev) pm_runtime_disable(&pdev->dev); pm_runtime_put_noidle(&pdev->dev); - sdhci_pltfm_unregister(pdev); + sdhci_pltfm_remove(pdev); clk_disable_unprepare(gck); clk_disable_unprepare(hclock);