From patchwork Mon Jan 29 09:55:31 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Linus Walleij X-Patchwork-Id: 10189475 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 4388860375 for ; Mon, 29 Jan 2018 09:55:46 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 14C71206E2 for ; Mon, 29 Jan 2018 09:55:46 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 08CD22521E; Mon, 29 Jan 2018 09:55:46 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.1 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_MED,T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 9DB75206E2 for ; Mon, 29 Jan 2018 09:55:45 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 6FC5A6E119; Mon, 29 Jan 2018 09:55:44 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-lf0-x241.google.com (mail-lf0-x241.google.com [IPv6:2a00:1450:4010:c07::241]) by gabe.freedesktop.org (Postfix) with ESMTPS id CED7F6E119 for ; Mon, 29 Jan 2018 09:55:42 +0000 (UTC) Received: by mail-lf0-x241.google.com with SMTP id q194so8989674lfe.13 for ; Mon, 29 Jan 2018 01:55:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id; bh=8yvTl+ULXvrrd40C3xbLxTMmsj+cXo7dsdtskn8+XQc=; b=jJomoqWFNr1PMSQJjJcwgbw5ENCieG92H68/Jx0k1Qce98i+zzgt1qQT06hICQjQ7X D/tqsUcSdvHPpHfPGqW6j3/EhQx9WsX+JOt8VaJpVoinhq6Jml9czDQVQq6dgEWQutCh fitbpJlrvB1zXw41pmer3eZcjW4RvG2kCm/Y8= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=8yvTl+ULXvrrd40C3xbLxTMmsj+cXo7dsdtskn8+XQc=; b=GPL5kx/osHvwaA8o2t3kVVLtgewszGu/0wP2wcFFsED6zOeal4YZikcOoIfQAGi621 uLYtmAXQfAu/KzhbH4cAaM8Oa2UM6w7dp8d/c/virnqVJGDDIjykIXFZnvekYXKINIyR KNOQQdJGMRCSsYbKozOp8sdx0mpRxoTOnVlQ8K4UYLtt9Zy9SYlKm6kdjcB+9dyfQajs u+scqXrVlhS9LD1WTKeordHyywmNmvx74C3PbEcRWhD8lCnaW7DJVP6a3uiH+jfe8Qqa 2gkapcJ0hlpdhOvHDMalibideoauh16WRlPgFRzl29K0StTG4EYDnOTWkBAuW4y0La4b UTQA== X-Gm-Message-State: AKwxytd688oIFF0KgXm46TEi/KRrzFAmqRYGwEBhDV728Cjv4VvhVFV/ AKd0Qi79/Yqdh+cgX/kzpfbqzEUvoSk= X-Google-Smtp-Source: AH8x227uVj3EiJpB/9rQD8u+cGkawkZ1cQMgQ/CuU2Yfx7phV90+iwKTdMBE3Sgm1+tWdOA1gAFbtw== X-Received: by 10.46.93.156 with SMTP id v28mr3186008lje.5.1517219741184; Mon, 29 Jan 2018 01:55:41 -0800 (PST) Received: from genomnajs.ideon.se ([85.235.10.227]) by smtp.gmail.com with ESMTPSA id o68sm2857894lfc.61.2018.01.29.01.55.40 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 29 Jan 2018 01:55:40 -0800 (PST) From: Linus Walleij To: Archit Taneja , Andrzej Hajda , Laurent Pinchart Subject: [PATCH] drm/bridge: Rename argument from crtc to bridge Date: Mon, 29 Jan 2018 10:55:31 +0100 Message-Id: <20180129095531.4557-1-linus.walleij@linaro.org> X-Mailer: git-send-email 2.14.3 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-arm-kernel@lists.infradead.org, dri-devel@lists.freedesktop.org MIME-Version: 1.0 Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" X-Virus-Scanned: ClamAV using ClamSMTP Why is the argument to ->mode_valid() called "crtc"? I guess a copy/paste error. Fix it. Signed-off-by: Linus Walleij Reviewed-by: Laurent Pinchart --- include/drm/drm_bridge.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/drm/drm_bridge.h b/include/drm/drm_bridge.h index bb7b97dfb93e..3270fec46979 100644 --- a/include/drm/drm_bridge.h +++ b/include/drm/drm_bridge.h @@ -91,7 +91,7 @@ struct drm_bridge_funcs { * * drm_mode_status Enum */ - enum drm_mode_status (*mode_valid)(struct drm_bridge *crtc, + enum drm_mode_status (*mode_valid)(struct drm_bridge *bridge, const struct drm_display_mode *mode); /**