From patchwork Tue Oct 2 20:52:17 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Paulo Zanoni X-Patchwork-Id: 1539131 Return-Path: X-Original-To: patchwork-intel-gfx@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork2.kernel.org Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) by patchwork2.kernel.org (Postfix) with ESMTP id ECF69DFFAD for ; Tue, 2 Oct 2012 21:13:26 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 055049EEA7 for ; Tue, 2 Oct 2012 14:13:27 -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 451389EEC5 for ; Tue, 2 Oct 2012 13:54:09 -0700 (PDT) Received: by mail-gg0-f177.google.com with SMTP id m2so1762342ggn.36 for ; Tue, 02 Oct 2012 13:54:09 -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=wuQ7BKOxZAsgHcdTv+yACrqL/JSoJo6iZpNrAXjuCk8=; b=XFu8OxsQ1Ocgs8bO3RGPebyD4iEmPQoTVkF9hgC888wlxSSMUSM1hnGg3/LOFgrI78 4bGMqU3zdyvz1wAhPRsOlkM0or5fQ/6qKJIDCnzwDbXcTzP2/w4C0pwzFT82Th12oNq5 DjZBRQq7bOKVf4jV/AwyG6FA8HVLcxizTDSHpDDNytWPDpq7vLF99aQsLJ+LwVYth3Le t5eVyBHNX74h5J8DssEK3xSpEl34HXEUVwxEugG4IR6qfzLSL8LbOD+vryQRSUWQZEU0 ACL9ad52eYxyCdJXfQwhIirepTegVStpjnxLk7w50geG+ZRpZg0OYvuFAY0CvqK4zVx/ lTIA== Received: by 10.236.201.195 with SMTP id b43mr1652yho.27.1349211248955; Tue, 02 Oct 2012 13:54:08 -0700 (PDT) Received: from vicky.domain.invalid ([187.59.149.118]) by mx.google.com with ESMTPS id f1sm2117168ank.12.2012.10.02.13.54.07 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 02 Oct 2012 13:54:08 -0700 (PDT) From: Paulo Zanoni To: intel-gfx@lists.freedesktop.org Date: Tue, 2 Oct 2012 17:52:17 -0300 Message-Id: <1349211142-4802-43-git-send-email-przanoni@gmail.com> X-Mailer: git-send-email 1.7.10.4 In-Reply-To: <1349211142-4802-1-git-send-email-przanoni@gmail.com> References: <1349211142-4802-1-git-send-email-przanoni@gmail.com> Cc: Paulo Zanoni Subject: [Intel-gfx] [PATCH 42/47] 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 771a5a6..d9655e5 100644 --- a/drivers/gpu/drm/i915/intel_dp.c +++ b/drivers/gpu/drm/i915/intel_dp.c @@ -2648,7 +2648,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); @@ -2868,7 +2868,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 6045503..31ddb81 100644 --- a/drivers/gpu/drm/i915/intel_hdmi.c +++ b/drivers/gpu/drm/i915/intel_hdmi.c @@ -939,7 +939,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); @@ -1040,7 +1040,7 @@ void intel_hdmi_init(struct drm_device *dev, int sdvox_reg, enum port port) intel_connector->get_hw_state = intel_connector_get_hw_state; - 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);