From patchwork Wed May 22 11:51:20 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sachin Kamat X-Patchwork-Id: 2602411 Return-Path: X-Original-To: patchwork-dri-devel@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 AD4BD3FD2B for ; Wed, 22 May 2013 15:46:24 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 9C184E6454 for ; Wed, 22 May 2013 08:46:24 -0700 (PDT) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-pb0-f52.google.com (mail-pb0-f52.google.com [209.85.160.52]) by gabe.freedesktop.org (Postfix) with ESMTP id F3495E62B7 for ; Wed, 22 May 2013 05:05:01 -0700 (PDT) Received: by mail-pb0-f52.google.com with SMTP id um15so1625628pbc.39 for ; Wed, 22 May 2013 05:05:02 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=from:to:cc:subject:date:message-id:x-mailer:x-gm-message-state; bh=PP4MOFyG4ygyFFp8hNTAzNbh1vyWLbROCxW8Dcrg/a8=; b=BgneYc/xl4YzgpjwjnyVM3WFfD8gFXez/jZmLsfjSKE+8g9Qywq84PUr4QsJA3wX3N hJEBj0RPCBdytyG3gmx4qwCQPbNhPgKB409DhhhH0TLc8hdRi7y484MS//pzon5plGuy Uz1lxP0i43yWZViCWSNyaWna1i4PW+PcSL6T+tduedPf9zqLG3/gko0raZXmGG055zaE u7tgdoNcyyiSB2W+qVjP8/ktKwyokflsOVhpyPgIV2oCbfNSQ8D79zVycsb+xd/fqeKe Y6GQUk4B5QNL5bWmDlSKWHLpxP6CmnIWwKNKQVfPDd+RQZAx1MRMA2OFxvHtMBWBgqWY xDAg== X-Received: by 10.66.240.70 with SMTP id vy6mr8119695pac.70.1369224301937; Wed, 22 May 2013 05:05:01 -0700 (PDT) Received: from linaro.sisodomain.com ([115.113.119.130]) by mx.google.com with ESMTPSA id wt5sm6975345pbc.38.2013.05.22.05.04.59 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 22 May 2013 05:05:01 -0700 (PDT) From: Sachin Kamat To: dri-devel@lists.freedesktop.org Subject: [PATCH 1/1] drm/exynos: Remove redundant use of of_match_ptr macro Date: Wed, 22 May 2013 17:21:20 +0530 Message-Id: <1369223480-14500-1-git-send-email-sachin.kamat@linaro.org> X-Mailer: git-send-email 1.7.9.5 X-Gm-Message-State: ALoCoQlEb0tZSRhBY0lfRCFsmGFL8MwKp0Indz+rbtmingkUu07432kk3zCZA+ai02EobMi9zbp5 X-Mailman-Approved-At: Wed, 22 May 2013 08:46:13 -0700 Cc: sachin.kamat@linaro.org, sw0312.kim@samsung.com, patches@linaro.org X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: dri-devel-bounces+patchwork-dri-devel=patchwork.kernel.org@lists.freedesktop.org Errors-To: dri-devel-bounces+patchwork-dri-devel=patchwork.kernel.org@lists.freedesktop.org 'mixer_match_types' is always compiled in. Hence of_match_ptr is not necessary. Signed-off-by: Sachin Kamat --- drivers/gpu/drm/exynos/exynos_mixer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/exynos/exynos_mixer.c b/drivers/gpu/drm/exynos/exynos_mixer.c index ec3e376..ec45064 100644 --- a/drivers/gpu/drm/exynos/exynos_mixer.c +++ b/drivers/gpu/drm/exynos/exynos_mixer.c @@ -1186,7 +1186,7 @@ static int mixer_probe(struct platform_device *pdev) if (dev->of_node) { const struct of_device_id *match; - match = of_match_node(of_match_ptr(mixer_match_types), + match = of_match_node(mixer_match_types, pdev->dev.of_node); drv = (struct mixer_drv_data *)match->data; } else {