Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp751908ybt; Wed, 8 Jul 2020 10:45:28 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyrP7oioQofyREQ49cqA/07F/Cxyy5PSEFK7Bqz7s7rojU9THDGTFY6BhET4wp+9OFWorDG X-Received: by 2002:a17:906:3c56:: with SMTP id i22mr41877401ejg.12.1594230328797; Wed, 08 Jul 2020 10:45:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1594230328; cv=none; d=google.com; s=arc-20160816; b=LTx5ohH5J2R9rRtGWL5yJF87RKhgekQtfaSsV1L/wiAKygJTVc1P3gAiL/bflcKs4G LF5KOR6c4ZNmFc/GZqCMUq6Fzj7fKI8lBjXZi4fxQXARQyxdHQYwAJ/TIHU6vvlz3fAg rpzfIw0uT5JmeAEztJIi77WGGzhdyGO813PIiQsygZydImmTP168N/joWcXSYgaeXK0A WzOglGlKQecKD+LQBA+9al5L1Me/752fTblaNj8v4fKI5WlMGHrgmGBxvvkkk0YKK5Pi Je64Su+X2bkU2/07pKtBzxEPogMstuYDVoDXbvdYSELOyCavb4fPxJTE69fJATHzwzd/ OvRg== 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 :dkim-signature:dkim-signature; bh=1LFoNqmlgRkCm9FumZP8Ph+ISo5fft0Ywc9akrAcD3c=; b=NrI0tfsvK2LZuwrms2pk3dMpRt9TnDgQN0f2349zEt4Gq8iJVHoqrZjLfeer7skX+c 0/otgUWpc3E+rcmxg3GEKCSWYculf0isSG3DtOZY/XQCTjZuXOWc/fSIgTFt2GJFtWle tDAZRKCmY9nxqvPasFfNRAGthbUr9TpjLJUBgbITioDLn6XUC7vJirV5/nqFPLGlkGKj WJNCArHZw7IfVuhp3BtH55J0JyTTZ296uV5hUEKyjkGV2cADO52UhR/e5eUozZD55N3W FbQWMRqqiMV1Adv4nxlljXbuu1io7L2d73JJfJvO6GqFr/I9i9O9h00ay13OM2GaFxoq umRQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@cerno.tech header.s=fm3 header.b=Ln0OKaBB; dkim=pass header.i=@messagingengine.com header.s=fm3 header.b=uAiKqEMp; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=cerno.tech Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id u10si300058ejg.30.2020.07.08.10.45.05; Wed, 08 Jul 2020 10:45:28 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@cerno.tech header.s=fm3 header.b=Ln0OKaBB; dkim=pass header.i=@messagingengine.com header.s=fm3 header.b=uAiKqEMp; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=cerno.tech Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727952AbgGHRoE (ORCPT + 99 others); Wed, 8 Jul 2020 13:44:04 -0400 Received: from wnew4-smtp.messagingengine.com ([64.147.123.18]:34989 "EHLO wnew4-smtp.messagingengine.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727916AbgGHRoA (ORCPT ); Wed, 8 Jul 2020 13:44:00 -0400 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailnew.west.internal (Postfix) with ESMTP id 53D87109F; Wed, 8 Jul 2020 13:43:59 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute4.internal (MEProxy); Wed, 08 Jul 2020 13:44:00 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cerno.tech; h= from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; s=fm3; bh=1LFoNqmlgRkCm 9FumZP8Ph+ISo5fft0Ywc9akrAcD3c=; b=Ln0OKaBBgyPGG/gofM1Q3zxphS6PR li0SDkil7RPCHYuiV0m6hf4NxEw4B62QPrjnO3F8VJFNIX3AGvxrRuFaKxx+M2Q6 hUMC7KgdzGbDxyMqrSN87gBfZen92cQmQSPpJett4MI0U89R2YJVbjoK2CuFuP4Q UMkawH/wPu4QzIt4vGlDtuH+8lODCftLrt+exea+87sIQAhcUBwV0+3L7mkCXenX fXAWu+ttFIdr/7lwdHft7UguqG19M2UPTS+YI82E80TIslWwH3zZ9w+6mr2nIzCL djCehWICYr9rBZDIqL8cTR5jtTsN0q7fThXAI5eAb/iWLtMKU2Px+kT8Q== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:date:from :in-reply-to:message-id:mime-version:references:subject:to :x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm3; bh=1LFoNqmlgRkCm9FumZP8Ph+ISo5fft0Ywc9akrAcD3c=; b=uAiKqEMp TfXXdjKes/L6ImvulxcM0mClqWwM1gC9A2Wkp5gcMNka9+Wa5UtjNBpJsKcotfEZ CDuKzs84xyn1/Ay3OEghnsu/tA+N6OfmSy/5YjceMqlt7TzkII22POZW8cTdAyfP 1K8DUUcO3fJUnFihgFPyTB1T5gVvfKxQ8ONdtH7yoai4JED7PcyURhTutnILNxa3 NZFLbBpyKr58mlCoWrkgFAm6TwD/EKDatAkCkrT38tWyTUzREjOp3K1h16OWwC6N gFi7FnCcTmvvZ7F+co1gApoJYy7N57NYugXddlcLl21QV/PmYRbT4Fcpmsc7aBCT j8BRTOPSQPKr1Q== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduiedrudejgdduudejucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvufffkffojghfggfgsedtkeertdertddtnecuhfhrohhmpeforgigihhm vgcutfhiphgrrhguuceomhgrgihimhgvsegtvghrnhhordhtvggthheqnecuggftrfgrth htvghrnhepvdekleevfeffkeejhfffueelteelfeduieefheduudfggffhhfffheevveeh hedvnecukfhppeeltddrkeelrdeikedrjeeinecuvehluhhsthgvrhfuihiivgepheegne curfgrrhgrmhepmhgrihhlfhhrohhmpehmrgigihhmvgestggvrhhnohdrthgvtghh X-ME-Proxy: Received: from localhost (lfbn-tou-1-1502-76.w90-89.abo.wanadoo.fr [90.89.68.76]) by mail.messagingengine.com (Postfix) with ESMTPA id A0CBF306005F; Wed, 8 Jul 2020 13:43:58 -0400 (EDT) From: Maxime Ripard To: Nicolas Saenz Julienne , Eric Anholt Cc: dri-devel@lists.freedesktop.org, linux-rpi-kernel@lists.infradead.org, bcm-kernel-feedback-list@broadcom.com, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Dave Stevenson , Tim Gover , Phil Elwell , Maxime Ripard Subject: [PATCH v4 61/78] drm/vc4: hdmi: Rename drm_encoder pointer in mode_valid Date: Wed, 8 Jul 2020 19:42:09 +0200 Message-Id: <98c93e0a594e42e39ba77946a0c8107996495eae.1594230107.git-series.maxime@cerno.tech> X-Mailer: git-send-email 2.26.2 In-Reply-To: References: 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 mode_valid hook on the encoder uses a pointer to a drm_encoder called crtc, which is pretty confusing. Let's rename it to encoder to make it clear what it is. Signed-off-by: Maxime Ripard --- drivers/gpu/drm/vc4/vc4_hdmi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/vc4/vc4_hdmi.c b/drivers/gpu/drm/vc4/vc4_hdmi.c index a01562a49bf0..17797b14cde4 100644 --- a/drivers/gpu/drm/vc4/vc4_hdmi.c +++ b/drivers/gpu/drm/vc4/vc4_hdmi.c @@ -556,7 +556,7 @@ static void vc4_hdmi_encoder_enable(struct drm_encoder *encoder) } static enum drm_mode_status -vc4_hdmi_encoder_mode_valid(struct drm_encoder *crtc, +vc4_hdmi_encoder_mode_valid(struct drm_encoder *encoder, const struct drm_display_mode *mode) { /* -- git-series 0.9.1