Message ID | 20230811130351.7038-10-adrian.hunter@intel.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <linux-mmc-owner@vger.kernel.org> 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 33C06C0015E for <linux-mmc@archiver.kernel.org>; Fri, 11 Aug 2023 13:07:13 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233482AbjHKNHL (ORCPT <rfc822;linux-mmc@archiver.kernel.org>); Fri, 11 Aug 2023 09:07:11 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45704 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233683AbjHKNGw (ORCPT <rfc822;linux-mmc@vger.kernel.org>); Fri, 11 Aug 2023 09:06:52 -0400 Received: from mgamail.intel.com (mgamail.intel.com [134.134.136.20]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6585630D8; Fri, 11 Aug 2023 06:06:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1691759182; x=1723295182; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=1wMuUWk+qLV1632Awen/X3G20KWSG3w5FhLYhGIunT8=; b=aWSqGGIazzIF+zKAyH2PCqzk0Bq+HSRGcB/REJrU0J+VP85wbDmvKhe4 Mp/0mIvCd5DGdST93nM/j/qETJUzRZL9sWtoNmSH37muMm34sor955Zq5 Ew7u27EgdTktE38r14Y237CERR0Jecj31nb9HbWQjDj9xVgSLUCLXbqOl VKL/7Whtp7VTklic63ISKuZAXlopawyIDLx3RUl5Xf+rLLpUNcp+AcLSb Drrdp1DvC+2lF43aw/pewKv63oDBrFbtzY0Z7bwB0VS4fjDe1w5EKfPQE xCYPvze0TThLRoOh9M0Dm5QKgN4LI6rqyeL+AI6BUcITCiKTymqK9Xxvg g==; X-IronPort-AV: E=McAfee;i="6600,9927,10798"; a="361812393" X-IronPort-AV: E=Sophos;i="6.01,165,1684825200"; d="scan'208";a="361812393" 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 <adrian.hunter@intel.com> To: Ulf Hansson <ulf.hansson@linaro.org>, Andy Shevchenko <andriy.shevchenko@linux.intel.com>, =?utf-8?q?Uwe_Kleine-K?= =?utf-8?q?=C3=B6nig?= <u.kleine-koenig@pengutronix.de>, Yangtao Li <frank.li@vivo.com> Cc: Florian Fainelli <florian.fainelli@broadcom.com>, Ray Jui <rjui@broadcom.com>, Scott Branden <sbranden@broadcom.com>, Broadcom internal kernel review list <bcm-kernel-feedback-list@broadcom.com>, Kamal Dasu <kamal.dasu@broadcom.com>, Al Cooper <alcooperx@gmail.com>, Michal Simek <michal.simek@amd.com>, Eugen Hristev <eugen.hristev@collabora.com>, Nicolas Ferre <nicolas.ferre@microchip.com>, Alexandre Belloni <alexandre.belloni@bootlin.com>, Claudiu Beznea <claudiu.beznea@microchip.com>, Lars Povlsen <lars.povlsen@microchip.com>, Steen Hegelund <Steen.Hegelund@microchip.com>, Daniel Machon <daniel.machon@microchip.com>, UNGLinuxDriver@microchip.com, Patrice Chotard <patrice.chotard@foss.st.com>, Brian Norris <briannorris@chromium.org>, Ye Xingchen <ye.xingchen@zte.com.cn>, Brad Larson <blarson@amd.com>, Christophe JAILLET <christophe.jaillet@wanadoo.fr>, Sai Krishna Potthuri <sai.krishna.potthuri@amd.com>, Swati Agarwal <swati.agarwal@amd.com>, Andy Tang <andy.tang@nxp.com>, Georgii Kruglov <georgy.kruglov@yandex.ru>, Jiapeng Chong <jiapeng.chong@linux.alibaba.com>, Doug Brown <doug@schmorgal.com>, Li Zetao <lizetao1@huawei.com>, Kunihiko Hayashi <hayashi.kunihiko@socionext.com>, Jassi Brar <jaswinder.singh@linaro.org>, linux-mmc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org 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 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: <linux-mmc.vger.kernel.org> X-Mailing-List: linux-mmc@vger.kernel.org |
Series |
mmc: sdhci-pltfm: Minor clean up
|
expand
|
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);
Use sdhci_pltfm_remove() instead of sdhci_pltfm_unregister() because sdhci_pltfm_unregister() is going to be removed. Signed-off-by: Adrian Hunter <adrian.hunter@intel.com> --- drivers/mmc/host/sdhci-of-at91.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)