Message ID | 20230811130351.7038-15-adrian.hunter@intel.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b824:0:b0:3f2:4152:657d with SMTP id z4csp1119096vqi; Fri, 11 Aug 2023 07:05:19 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEcGv4C+iRNkjNMOySTke47aJ/dKYO53fmoaAel+l/FPdruDUMvWwgqABqet9ZQBdQEERa5 X-Received: by 2002:a17:902:e546:b0:1bc:2c79:c6b6 with SMTP id n6-20020a170902e54600b001bc2c79c6b6mr1738059plf.28.1691762718067; Fri, 11 Aug 2023 07:05:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1691762718; cv=none; d=google.com; s=arc-20160816; b=H63TKv2ITqY8r9A1KsdyY8202kl75X/D8tQZHNye8bol+RgA7X+V5SFK1VgTvMVlZl cof5o4cOvN9w11s+Qw4KHPztF9Gu4H2CycQeMzGFplLwCGGzog7Dl7TZTGKEioLLud+K J+VFOBCX6Q1mCgjKO3txSvhfzQ3IeOG7qOTspkqy/0HnhVXoyBMOjOoMtlJZTyatTaTc J1dy4R3kCnHmBlqdTw5oTGf/EzEb7VnmMEhemDLGH7XOdXvDY9f2FcSi5UdvhRoT5JH6 7gywhfGpjxN37bgTuY9/lnxSIyd2jkttfKBBQPyPY2/25zmqA8fwVfmu+TSxLK6fu7aE iK3A== 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=apzcEZHvFKengHdsmGgpO/nZzlKZkYjy6SR0vOmi/mw=; fh=1illQt2rvZm/duIamif60BE+Ziytl52XIUdvA193/Ac=; b=IPyc50KHXlN9HOkbA45Myv0IxkFUTiV/DLH+E9n1QjiecT4jNUQJkyob8jfl7UEaUb CWcVYMEYO6EQbBLnAvbonv/ElVVfyClyTQghwI6zbGkIRwVlXh5zJwvs3pQIouPQ3CT8 /93dnArFXKxdcL7JRrHnOJR7aJ1Q+7DrJjgPf4OseTHMoTK2QmI4nnLfXybnc6gDpCUg 3frjEy8agomBIHu3T1vrgebO8D5pP3J9vWgAU0suzcCUqFoCaqnrZ9K9ZZ3xfS+Mz5Sa SdRFxWswVWDDsjsC3pUuh5u9L70m0aMQGYFhq3I2CtDt7f2+PkDV1QOsdlK91KIZB1uu 8t3Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=hheAhfNA; 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 v1-20020a170902b7c100b001b8a3a8d707si3386987plz.573.2023.08.11.07.04.59; Fri, 11 Aug 2023 07:05:18 -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=hheAhfNA; 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 S235839AbjHKNIE (ORCPT <rfc822;lanlanxiyiji@gmail.com> + 99 others); Fri, 11 Aug 2023 09:08:04 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45600 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235581AbjHKNHn (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Fri, 11 Aug 2023 09:07:43 -0400 Received: from mgamail.intel.com (mgamail.intel.com [134.134.136.20]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 745AA30F1; Fri, 11 Aug 2023 06:07:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1691759238; x=1723295238; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=oyHZlWm1kbOR1r7fOMlVwR9HINvOVnjP/BkAeoiZa6M=; b=hheAhfNAoNHuq1jeM3xn8ggHEIF/v6n9NMIzrCyzx591fBbG0ljPxZf8 9FX0kpqeUvJCZO6dcRkjzUgQV9aH/AeQsvFRcWEMmOVCp+3iLg43TUWSw A8UNH45hP8XK9F+qXKhw4/zgCZW5Gi9TYMUXp1HWCgiToJXGVwEC1QmEj sWqpk0JgQQMYYPq17q6cdt9GIZrHaxOeDicZvB3f3HhA8X7I1nkD8kp5I /FMkna1BAbpfGzWVDcwUIO2fE8jvyHfIfgO8Nzl4PVcngXmqeqku93IMx 4w5aYGigLu703jQvFFy6KBh8grTnXmH+YdQLyM9SO8J2e+YTQPS5hg2Du g==; X-IronPort-AV: E=McAfee;i="6600,9927,10798"; a="361812815" X-IronPort-AV: E=Sophos;i="6.01,165,1684825200"; d="scan'208";a="361812815" 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:06:41 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10798"; a="709535421" X-IronPort-AV: E=Sophos;i="6.01,165,1684825200"; d="scan'208";a="709535421" 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:06:06 -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 14/16] mmc: sdhci-st: Use sdhci_pltfm_remove() Date: Fri, 11 Aug 2023 16:03:49 +0300 Message-Id: <20230811130351.7038-15-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 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: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1773941783630199839 X-GMAIL-MSGID: 1773941783630199839 |
Series |
mmc: sdhci-pltfm: Minor clean up
|
|
Commit Message
Adrian Hunter
Aug. 11, 2023, 1:03 p.m. UTC
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-st.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/drivers/mmc/host/sdhci-st.c b/drivers/mmc/host/sdhci-st.c index 14fc2c386bd3..d12532b96b51 100644 --- a/drivers/mmc/host/sdhci-st.c +++ b/drivers/mmc/host/sdhci-st.c @@ -437,10 +437,12 @@ static void sdhci_st_remove(struct platform_device *pdev) struct sdhci_pltfm_host *pltfm_host = sdhci_priv(host); struct st_mmc_platform_data *pdata = sdhci_pltfm_priv(pltfm_host); struct reset_control *rstc = pdata->rstc; + struct clk *clk = pltfm_host->clk; - sdhci_pltfm_unregister(pdev); + sdhci_pltfm_remove(pdev); clk_disable_unprepare(pdata->icnclk); + clk_disable_unprepare(clk); reset_control_assert(rstc); }