From patchwork Tue Aug 28 22:06:58 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Paulo Zanoni X-Patchwork-Id: 1382971 Return-Path: X-Original-To: patchwork-intel-gfx@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork1.kernel.org Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) by patchwork1.kernel.org (Postfix) with ESMTP id AE87E3FDF6 for ; Tue, 28 Aug 2012 22:29:24 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 740DB9E787 for ; Tue, 28 Aug 2012 15:29:24 -0700 (PDT) X-Original-To: intel-gfx@lists.freedesktop.org Delivered-To: intel-gfx@lists.freedesktop.org Received: from mail-gg0-f177.google.com (mail-gg0-f177.google.com [209.85.161.177]) by gabe.freedesktop.org (Postfix) with ESMTP id 14E719E976 for ; Tue, 28 Aug 2012 15:08:15 -0700 (PDT) Received: by mail-gg0-f177.google.com with SMTP id m2so1137689ggn.36 for ; Tue, 28 Aug 2012 15:08:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:x-mailer:in-reply-to:references; bh=ed+L82w8Azl3IT+Y8ZbQKkvtMvPIYeu/NTqkaoP3/1w=; b=jB8/NkKQPag2BAfTxbihncxWmRR7d+/6gBHFeCnpKgbhWED5DSSmFylfv4TG9c9692 tWLd7PcE3QJFd0f+IXlRRGVS5ZHxhlKHnXmULtjlUclEyl2A2BB02yJrXI1OX7/7LCJZ yiBbc7o9JDEcBg5GkS4CV7UcD2kYQc0Ve9/mx3tVKUJ9/Me4dPoQ6/alfaSAsAF9TpzD BJCS0ULEV7pjNBpMM/cue0ZzbGb+noKLJ/m71vSM6FTb6bycQKmkhuvUqoNOKNRBbZJd mEMh86jjYf7IivinLsRHPQ+6koBQCp/wfL8BW1ML9brb428OU4cIUa6F9w1QvcSuaj1Q UCww== Received: by 10.236.46.229 with SMTP id r65mr15687809yhb.13.1346191695830; Tue, 28 Aug 2012 15:08:15 -0700 (PDT) Received: from vicky.domain.invalid (189.114.178.236.dynamic.adsl.gvt.net.br. [189.114.178.236]) by mx.google.com with ESMTPS id z3sm4434172anj.20.2012.08.28.15.08.14 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 28 Aug 2012 15:08:15 -0700 (PDT) From: Paulo Zanoni To: intel-gfx@lists.freedesktop.org Date: Tue, 28 Aug 2012 19:06:58 -0300 Message-Id: <1346191621-12996-28-git-send-email-przanoni@gmail.com> X-Mailer: git-send-email 1.7.10.4 In-Reply-To: <1346191621-12996-1-git-send-email-przanoni@gmail.com> References: <1346191621-12996-1-git-send-email-przanoni@gmail.com> Cc: Paulo Zanoni Subject: [Intel-gfx] [RFC 27/30] drm/i915: remove encoder args from intel_{dp, hdmi}_add_properties X-BeenThere: intel-gfx@lists.freedesktop.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Intel graphics driver community testing & development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: intel-gfx-bounces+patchwork-intel-gfx=patchwork.kernel.org@lists.freedesktop.org Errors-To: intel-gfx-bounces+patchwork-intel-gfx=patchwork.kernel.org@lists.freedesktop.org From: Paulo Zanoni They were unused. Signed-off-by: Paulo Zanoni --- drivers/gpu/drm/i915/intel_dp.c | 4 ++-- drivers/gpu/drm/i915/intel_hdmi.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/gpu/drm/i915/intel_dp.c b/drivers/gpu/drm/i915/intel_dp.c index fad2959..314b4c7 100644 --- a/drivers/gpu/drm/i915/intel_dp.c +++ b/drivers/gpu/drm/i915/intel_dp.c @@ -2580,7 +2580,7 @@ bool intel_dpd_is_edp(struct drm_device *dev) } static void -intel_dp_add_properties(struct intel_dp *intel_dp, struct drm_connector *connector) +intel_dp_add_properties(struct drm_connector *connector) { intel_attach_force_audio_property(connector); intel_attach_broadcast_rgb_property(connector); @@ -2774,7 +2774,7 @@ intel_dp_init(struct drm_device *dev, int output_reg, enum port port) intel_panel_setup_backlight(dev); } - intel_dp_add_properties(intel_dp, connector); + intel_dp_add_properties(connector); /* For G4X desktop chip, PEG_BAND_GAP_DATA 3:0 must first be written * 0xd. Failure to do so will result in spurious interrupts being diff --git a/drivers/gpu/drm/i915/intel_hdmi.c b/drivers/gpu/drm/i915/intel_hdmi.c index 97c01e8..bb31a77 100644 --- a/drivers/gpu/drm/i915/intel_hdmi.c +++ b/drivers/gpu/drm/i915/intel_hdmi.c @@ -893,7 +893,7 @@ static const struct drm_encoder_funcs intel_hdmi_enc_funcs = { }; static void -intel_hdmi_add_properties(struct intel_hdmi *intel_hdmi, struct drm_connector *connector) +intel_hdmi_add_properties(struct drm_connector *connector) { intel_attach_force_audio_property(connector); intel_attach_broadcast_rgb_property(connector); @@ -981,7 +981,7 @@ void intel_hdmi_init(struct drm_device *dev, int sdvox_reg, enum port port) else drm_encoder_helper_add(&intel_encoder->base, &intel_hdmi_helper_funcs); - intel_hdmi_add_properties(intel_hdmi, connector); + intel_hdmi_add_properties(connector); intel_connector_attach_encoder(intel_connector, intel_encoder); drm_sysfs_connector_add(connector);