From patchwork Wed Nov 17 10:38:50 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Wolfram Sang X-Patchwork-Id: 12624351 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 mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 4BFEDC433FE for ; Wed, 17 Nov 2021 10:38:59 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 34FD861BE3 for ; Wed, 17 Nov 2021 10:38:59 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236516AbhKQKl4 (ORCPT ); Wed, 17 Nov 2021 05:41:56 -0500 Received: from www.zeus03.de ([194.117.254.33]:45350 "EHLO mail.zeus03.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236504AbhKQKlx (ORCPT ); Wed, 17 Nov 2021 05:41:53 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=simple; d=sang-engineering.com; h= from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; s=k1; bh=zHjdCVq+a0PvtblKzK6PT9cMv4X +XFtvK67UlQ+b0O4=; b=A4Q8rhG5fgLVzhd4QDEcdUQhd1IGXIlyC9WIdJUnAX1 vU/c10T5f1UEKZ0JE3IAGLXv0tT6yNbz8m41E3U+U061TnbJtdYRbY9DnuoK0Wlc aB5g9YXehxqGGRdJUmhmkbFf1dcY2Q9549+e26ACB9G3QG3fnn1sfMJuYB4bnfBU = Received: (qmail 3058614 invoked from network); 17 Nov 2021 11:38:52 +0100 Received: by mail.zeus03.de with ESMTPSA (TLS_AES_256_GCM_SHA384 encrypted, authenticated); 17 Nov 2021 11:38:52 +0100 X-UD-Smtp-Session: l3s3148p1@YUXspfnQ0uwgAwDPXwoaAHKn46ZTsFWo From: Wolfram Sang To: linux-mmc@vger.kernel.org Cc: linux-renesas-soc@vger.kernel.org, Wolfram Sang Subject: [PATCH] mmc: renesas_sdhi: simplify an expression Date: Wed, 17 Nov 2021 11:38:50 +0100 Message-Id: <20211117103850.28397-1-wsa+renesas@sang-engineering.com> X-Mailer: git-send-email 2.30.2 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-mmc@vger.kernel.org We already have 'quirks', no need to go via 'priv'. Signed-off-by: Wolfram Sang Reviewed-by: Niklas Söderlund Reviewed-by: Geert Uytterhoeven Acked-by: Ulf Hansson --- drivers/mmc/host/renesas_sdhi_core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mmc/host/renesas_sdhi_core.c b/drivers/mmc/host/renesas_sdhi_core.c index a4407f391f66..29bc086f6cb5 100644 --- a/drivers/mmc/host/renesas_sdhi_core.c +++ b/drivers/mmc/host/renesas_sdhi_core.c @@ -1044,7 +1044,7 @@ int renesas_sdhi_probe(struct platform_device *pdev, host->mmc->caps2 & (MMC_CAP2_HS200_1_8V_SDR | MMC_CAP2_HS400_1_8V))) { const struct renesas_sdhi_scc *taps = of_data->taps; - bool use_4tap = priv->quirks && priv->quirks->hs400_4taps; + bool use_4tap = quirks && quirks->hs400_4taps; bool hit = false; for (i = 0; i < of_data->taps_num; i++) {