From patchwork Fri Oct 12 02:06:01 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rob Clark X-Patchwork-Id: 12178 Return-Path: X-Original-To: patchwork@peony.canonical.com Delivered-To: patchwork@peony.canonical.com Received: from fiordland.canonical.com (fiordland.canonical.com [91.189.94.145]) by peony.canonical.com (Postfix) with ESMTP id 0FC3123E57 for ; Fri, 12 Oct 2012 02:06:26 +0000 (UTC) Received: from mail-ia0-f180.google.com (mail-ia0-f180.google.com [209.85.210.180]) by fiordland.canonical.com (Postfix) with ESMTP id AE611A1937E for ; Fri, 12 Oct 2012 02:06:25 +0000 (UTC) Received: by mail-ia0-f180.google.com with SMTP id f6so1713840iag.11 for ; Thu, 11 Oct 2012 19:06:25 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-forwarded-to:x-forwarded-for:delivered-to:received-spf :dkim-signature:sender:from:to:cc:subject:date:message-id:x-mailer :in-reply-to:references:x-gm-message-state; bh=dooy/HurVkt2oQFa4AMqbtzZaedrgbI+zjgYTB/MBDs=; b=Wa3VJQaIVkHxaQz+U9tvb534Y9jkzu7Lk/7SfMVfvORrMmbXm9qjQ+k6z+Ip09sps6 v5QZRr/THItUDTPirMGo6gzq7TOrn4Oxx4uvjDtIC6xkSd8FyTKUksYG+CXWeK4r3S41 6Ih7vjMSojJyGR2UfgfffhEcv9UTYNxKKpRQbKfuIdZC03eW2Rq7XveAZwokVjnV2rp4 /SFkqQHBy8azPvN8Xn6Fs5uOIC4KeFdGmAeG5nrWDOrK6WqD2iGubiNNB0cGf/CtbjIE HgTypC3WgCjfm852YR1udwTDjBqkonucx2o6PZxhIDopMOtmS7ukjoeWcMEG2eLg/W3d rU7A== Received: by 10.50.87.134 with SMTP id ay6mr774413igb.70.1350007585451; Thu, 11 Oct 2012 19:06:25 -0700 (PDT) X-Forwarded-To: linaro-patchwork@canonical.com X-Forwarded-For: patch@linaro.org linaro-patchwork@canonical.com Delivered-To: patches@linaro.org Received: by 10.50.67.148 with SMTP id n20csp132376igt; Thu, 11 Oct 2012 19:06:24 -0700 (PDT) Received: by 10.182.51.65 with SMTP id i1mr2326962obo.45.1350007584869; Thu, 11 Oct 2012 19:06:24 -0700 (PDT) Received: from mail-ob0-f178.google.com (mail-ob0-f178.google.com [209.85.214.178]) by mx.google.com with ESMTPS id ym2si6674359obb.105.2012.10.11.19.06.24 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 11 Oct 2012 19:06:24 -0700 (PDT) Received-SPF: pass (google.com: domain of robdclark@gmail.com designates 209.85.214.178 as permitted sender) client-ip=209.85.214.178; Authentication-Results: mx.google.com; spf=pass (google.com: domain of robdclark@gmail.com designates 209.85.214.178 as permitted sender) smtp.mail=robdclark@gmail.com; dkim=pass header.i=@gmail.com Received: by mail-ob0-f178.google.com with SMTP id tb18so2949241obb.37 for ; Thu, 11 Oct 2012 19:06:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:to:cc:subject:date:message-id:x-mailer:in-reply-to :references; bh=dooy/HurVkt2oQFa4AMqbtzZaedrgbI+zjgYTB/MBDs=; b=wCcg74FwxUQwGuBakJJ2B3dCZuLcfi4N/PR+Tk/1A2A38h/lqFf0OWRIhakQaDr6up /UGn35etxQnp5LAaftyD5lyCgdoc9APE9kb0svbRRLDJwzfKdAUSZqEBnp17cVrLgcSb zJbL2y8+7tJYHdDQu9m7GyOlyTcXJlkohT11a4HkDTrGjkcPvidXP8p49E7UTEDv2nyN k137mGb6IwCFYpmiflhSOo1c0r1plGhHi915fkRA6Ixe+9jfAhdR8bC4dovEYzzhD2Mq nNpeV1IonqD1pf0kkKmxIaSRLMoL7cGX/6Y0Pbl2ZLJH+wLK5OLLY60Vtr+Y0sTrTtWJ L40Q== Received: by 10.60.20.8 with SMTP id j8mr2292979oee.127.1350007584737; Thu, 11 Oct 2012 19:06:24 -0700 (PDT) Received: from localhost (ppp-70-129-143-201.dsl.rcsntx.swbell.net. [70.129.143.201]) by mx.google.com with ESMTPS id q6sm4400604oec.7.2012.10.11.19.06.23 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 11 Oct 2012 19:06:24 -0700 (PDT) Sender: Rob Clark From: Rob Clark To: dri-devel@lists.freedesktop.org Cc: patches@linaro.org, airlied@linux.ie, daniel.vetter@ffwll.ch, bskeggs@redhat.com, laurent.pinchart@ideasonboard.com, alexander.deucher@amd.com, alan@linux.intel.com, jakob@vmware.com, Rob Clark Subject: [PATCH 8/9] drm/i2c: drm_connector_property -> drm_object_property Date: Thu, 11 Oct 2012 21:06:01 -0500 Message-Id: <1350007562-22323-9-git-send-email-rob.clark@linaro.org> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1350007562-22323-1-git-send-email-rob.clark@linaro.org> References: <1350007562-22323-1-git-send-email-rob.clark@linaro.org> X-Gm-Message-State: ALoCoQnmA/pqcgsAoWnILeGrG05WfYk/n/y17CSJqmD+JMjGl2n9GFqqYvcF9UXIxYNDQG9W0Qh3 From: Rob Clark Signed-off-by: Rob Clark --- drivers/gpu/drm/i2c/ch7006_drv.c | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/drivers/gpu/drm/i2c/ch7006_drv.c b/drivers/gpu/drm/i2c/ch7006_drv.c index 599099f..b865d07 100644 --- a/drivers/gpu/drm/i2c/ch7006_drv.c +++ b/drivers/gpu/drm/i2c/ch7006_drv.c @@ -214,7 +214,7 @@ static enum drm_connector_status ch7006_encoder_detect(struct drm_encoder *encod else priv->subconnector = DRM_MODE_SUBCONNECTOR_Unknown; - drm_connector_property_set_value(connector, + drm_object_property_set_value(&connector->base, encoder->dev->mode_config.tv_subconnector_property, priv->subconnector); @@ -254,23 +254,23 @@ static int ch7006_encoder_create_resources(struct drm_encoder *encoder, priv->scale_property = drm_property_create_range(dev, 0, "scale", 0, 2); - drm_connector_attach_property(connector, conf->tv_select_subconnector_property, + drm_object_attach_property(&connector->base, conf->tv_select_subconnector_property, priv->select_subconnector); - drm_connector_attach_property(connector, conf->tv_subconnector_property, + drm_object_attach_property(&connector->base, conf->tv_subconnector_property, priv->subconnector); - drm_connector_attach_property(connector, conf->tv_left_margin_property, + drm_object_attach_property(&connector->base, conf->tv_left_margin_property, priv->hmargin); - drm_connector_attach_property(connector, conf->tv_bottom_margin_property, + drm_object_attach_property(&connector->base, conf->tv_bottom_margin_property, priv->vmargin); - drm_connector_attach_property(connector, conf->tv_mode_property, + drm_object_attach_property(&connector->base, conf->tv_mode_property, priv->norm); - drm_connector_attach_property(connector, conf->tv_brightness_property, + drm_object_attach_property(&connector->base, conf->tv_brightness_property, priv->brightness); - drm_connector_attach_property(connector, conf->tv_contrast_property, + drm_object_attach_property(&connector->base, conf->tv_contrast_property, priv->contrast); - drm_connector_attach_property(connector, conf->tv_flicker_reduction_property, + drm_object_attach_property(&connector->base, conf->tv_flicker_reduction_property, priv->flicker); - drm_connector_attach_property(connector, priv->scale_property, + drm_object_attach_property(&connector->base, priv->scale_property, priv->scale); return 0;