Received: by 2002:ac0:946b:0:0:0:0:0 with SMTP id j40csp2584729imj; Mon, 11 Feb 2019 05:26:56 -0800 (PST) X-Google-Smtp-Source: AHgI3Iaz9p3ICxKI3gsDaRUw4ABIuKjaGZt1kPuhGfTJzf/1L/6P8cim96E4XgNbH2yz3IVL8RCt X-Received: by 2002:a63:fb42:: with SMTP id w2mr1593681pgj.408.1549891616434; Mon, 11 Feb 2019 05:26:56 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1549891616; cv=none; d=google.com; s=arc-20160816; b=mV0e5k3lQVC/AOA7x/kmpfSmH2lw32RHkxYXxky16p94zOZPef0WYnak9z5Abix5jU sEFFCjGSlRdhH0+tlQShd/rAjaaDY+ed2vcwzkwOV19y34BvIrmvG8phkyDIOpJgJQNM ewQL2SLGzRFJVkA9GdSVewBeUTFYw2zbRtAW+rD09P1cSi/baFrP6/W/p4Jxb+SF2dpa Q15tm0/G4z1OZUDcG20LZaDKe6qi8o7N2T3yjaOCniWVKQjVRND/UHhmfzKJ3hwheAQa ahFSbn21TTafPuRRcsjxAdFlRLKwyxc7EN8il+6eIgQN3n2tyA+GZXn2uR+3vILpW/Lu KZ9Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=rYlv0aoEmqiDGaiNJghE2rkhk8inyotNKnP+jHnRDNw=; b=lad1ZurKYzUwYiee4zWbvPzsbPqOClEQCuHUcwpjVdRECjbBAotK/OzWcqZDLXMEHq P/piz881xuQMypXu70mCTV4uW2UoyzGq8LyWEYf6jD0Jpv0elUrrxVQdR/RfhN+O1+8e jEt17spixpFuINUPsJnA6zlJLMoh/TyByO2l5HngOpNFmvdk/flrUJ4aR6X0/xmmj6H6 oiVG1hzyTGHJWzaHRdzcBozOJbbXmc3NpHPhAPOP5/ktTgGcW9E+v1oQebvJxu3Q1o4r y8jjs5qr1sklxc1qLLVtZEFrzTVqe82woZ9Ak+Yo0fJ9PhYTwqSpVPbZT5NIUG13aWFq AjfA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id c8si9382748pgl.507.2019.02.11.05.26.40; Mon, 11 Feb 2019 05:26:56 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728004AbfBKNYh (ORCPT + 99 others); Mon, 11 Feb 2019 08:24:37 -0500 Received: from relay5-d.mail.gandi.net ([217.70.183.197]:39077 "EHLO relay5-d.mail.gandi.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727985AbfBKNYg (ORCPT ); Mon, 11 Feb 2019 08:24:36 -0500 X-Originating-IP: 90.88.22.177 Received: from localhost (aaubervilliers-681-1-80-177.w90-88.abo.wanadoo.fr [90.88.22.177]) (Authenticated sender: thomas.petazzoni@bootlin.com) by relay5-d.mail.gandi.net (Postfix) with ESMTPSA id 92E201C0004; Mon, 11 Feb 2019 13:24:33 +0000 (UTC) From: Thomas Petazzoni To: Adrian Hunter , Kishon Vijay Abraham I , Ulf Hansson , Thierry Reding , Jonathan Hunter Cc: linux-mmc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-tegra@vger.kernel.org, Faiz Abbas , Thomas Petazzoni , Thierry Reding Subject: [PATCH v2 2/3] mmc: sdhci-omap: drop ->get_ro() implementation Date: Mon, 11 Feb 2019 14:23:41 +0100 Message-Id: <20190211132342.31009-3-thomas.petazzoni@bootlin.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190211132342.31009-1-thomas.petazzoni@bootlin.com> References: <20190211132342.31009-1-thomas.petazzoni@bootlin.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The SDHCI core is now properly checking for the state of a WP GPIO, so there is no longer any need for the sdhci-omap code to implement ->get_ro() using mmc_gpio_get_ro(). Signed-off-by: Thomas Petazzoni Reviewed-by: Thierry Reding --- Changes since v1: - Added Reviewed-by from Thierry Reding - Fix typo in commit log s/know/now/ noticed by Thierry Reding Note: this patch has only been compiled tested, as I don't have the hardware to test it. --- drivers/mmc/host/sdhci-omap.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/mmc/host/sdhci-omap.c b/drivers/mmc/host/sdhci-omap.c index d264391616f9..c2a28930086f 100644 --- a/drivers/mmc/host/sdhci-omap.c +++ b/drivers/mmc/host/sdhci-omap.c @@ -987,7 +987,6 @@ static int sdhci_omap_probe(struct platform_device *pdev) goto err_put_sync; } - host->mmc_host_ops.get_ro = mmc_gpio_get_ro; host->mmc_host_ops.start_signal_voltage_switch = sdhci_omap_start_signal_voltage_switch; host->mmc_host_ops.set_ios = sdhci_omap_set_ios; -- 2.20.1