From patchwork Thu Mar 12 00:57:18 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rajat Jain X-Patchwork-Id: 11433533 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 9F20914B4 for ; Thu, 12 Mar 2020 08:11:01 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 805DD20650 for ; Thu, 12 Mar 2020 08:11:01 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=google.com header.i=@google.com header.b="bT1CrWbV" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 805DD20650 Authentication-Results: mail.kernel.org; dmarc=fail (p=reject dis=none) header.from=google.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 96E6B6EA77; Thu, 12 Mar 2020 08:09:00 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-ua1-x949.google.com (mail-ua1-x949.google.com [IPv6:2607:f8b0:4864:20::949]) by gabe.freedesktop.org (Postfix) with ESMTPS id C1A206E9F2 for ; Thu, 12 Mar 2020 00:57:31 +0000 (UTC) Received: by mail-ua1-x949.google.com with SMTP id m16so610459uao.19 for ; Wed, 11 Mar 2020 17:57:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=date:in-reply-to:message-id:mime-version:references:subject:from:to :cc; bh=zfQL1NufXJXKszWu72jE1H3reXD9X3Cw+0IUbEiABbs=; b=bT1CrWbV4OeJpGXX03s+OUjA04G+CjGZX2Tf3a3Uc+hxyENfPUI+C5i/B3FF5a9Cwc KUXD8rZSh+N82h8RwgutzToHhe2EW0u3Cl24Fy4uDwxSGZn5xQ1ffJ7Wf83wi1GHWAQk Wrseo8utA4nuxC0luM2akfn665xHAB9f10uuUc9f7Mzsi0Hc+vT8w8fp1ecaKUJBCDae ZgyNCq8WxyiiD8e/bmHFSWLCmqyUhdJRXe6xAvu5mxI2vSCcPQDZ7aUevFVjhRvBdStg 1tGQSxOewrQmYz+mdiT4w5beVHsK3h1XiLqXRCXLA4T1xx0UU0wYqzjL/BUx3oudUkWz bQNw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:in-reply-to:message-id:mime-version :references:subject:from:to:cc; bh=zfQL1NufXJXKszWu72jE1H3reXD9X3Cw+0IUbEiABbs=; b=TBbPtCZpjfrjmbnqJ3+xHcrfeBCoSmR5UrV2RXlsNLkLOpZCurCQVdFepzJ8YAFa25 W5UYEYbbGaaXteVrBQO3Q1CBRjjivk5yFI+w3jQEY/Y4+C3s+0fkCBRBASxR+/clbrjd 9vrA53JjCKae0nqvBeE2G+4BU0hPHa/TMRR9TP6iosSRprZ1iTgGtOeuUvYVpPIjYYbS Cx/puDztDNwKU9OzVxVHfbrYG5Qvt7eLqH+UnAVln2gLaoHH1qhCis41KNAZ7c1kpFbR oj7oviS4wsoBDoGgjWyJUXNidaJwo1D3VLjcAOYBDjgQ1F0h0496/LVjqOZ9uYyYb0cs uG1Q== X-Gm-Message-State: ANhLgQ3YIsZjaq+FLQnhm4gWDnYU+OgawpN0G9tye17/YeiKGb0T/7sM jaVo6l3QwMNFyOf7AfHFDLblt9QC2yRs X-Google-Smtp-Source: ADFU+vudXPpltJWf5kCHaXEyXnesLFR5gJzoEWgqDEP7sXpXeSYgwHh/qrrl5VAWvaMLl86pkFonQ4bkM/3U X-Received: by 2002:a67:7dd0:: with SMTP id y199mr3632675vsc.158.1583974650664; Wed, 11 Mar 2020 17:57:30 -0700 (PDT) Date: Wed, 11 Mar 2020 17:57:18 -0700 In-Reply-To: <20200312005722.48803-1-rajatja@google.com> Message-Id: <20200312005722.48803-2-rajatja@google.com> Mime-Version: 1.0 References: <20200312005722.48803-1-rajatja@google.com> X-Mailer: git-send-email 2.25.1.481.gfbce0eb801-goog Subject: [PATCH v8 1/5] intel_acpi: Rename drm_dev local variable to dev From: Rajat Jain To: Maarten Lankhorst , Maxime Ripard , Sean Paul , David Airlie , Daniel Vetter , Jani Nikula , Joonas Lahtinen , Rodrigo Vivi , " =?utf-8?b?VmlsbGUgU3lyasOkbMOk?= " , Chris Wilson , Imre Deak , " =?utf-8?q?Jos=C3=A9_Roberto_de_Souza?= " , linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, intel-gfx@lists.freedesktop.org, gregkh@linuxfoundation.org, mathewk@google.com, Daniel Thompson , Jonathan Corbet , Pavel Machek , seanpaul@google.com, Duncan Laurie , jsbarnes@google.com, Thierry Reding , mpearson@lenovo.com, Nitin Joshi1 , Sugumaran Lacshiminarayanan , Tomoki Maruichi X-Mailman-Approved-At: Thu, 12 Mar 2020 08:08:13 +0000 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Jani Nikula , Rajat Jain , rajatxjain@gmail.com Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Change the struct drm_device * local variable from drm_dev to dev per the feedback received here: https://lkml.org/lkml/2020/1/24/1143 Signed-off-by: Rajat Jain Reviewed-by: Jani Nikula --- v8: same as v7 v7: same as v6 v6: Initial patch (v6 to match other patches in the set) drivers/gpu/drm/i915/display/intel_acpi.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/i915/display/intel_acpi.c b/drivers/gpu/drm/i915/display/intel_acpi.c index e21fb14d5e07b..3e6831cca4ac1 100644 --- a/drivers/gpu/drm/i915/display/intel_acpi.c +++ b/drivers/gpu/drm/i915/display/intel_acpi.c @@ -224,13 +224,13 @@ static u32 acpi_display_type(struct intel_connector *connector) void intel_acpi_device_id_update(struct drm_i915_private *dev_priv) { - struct drm_device *drm_dev = &dev_priv->drm; + struct drm_device *dev = &dev_priv->drm; struct intel_connector *connector; struct drm_connector_list_iter conn_iter; u8 display_index[16] = {}; /* Populate the ACPI IDs for all connectors for a given drm_device */ - drm_connector_list_iter_begin(drm_dev, &conn_iter); + drm_connector_list_iter_begin(dev, &conn_iter); for_each_intel_connector_iter(connector, &conn_iter) { u32 device_id, type;