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: 17089 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-qe0-f72.google.com (mail-qe0-f72.google.com [209.85.128.72]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 64A20238FE for ; Wed, 22 May 2013 12:05:57 +0000 (UTC) Received: by mail-qe0-f72.google.com with SMTP id b4sf2555335qen.11 for ; Wed, 22 May 2013 05:05:04 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:x-beenthere:x-forwarded-to:x-forwarded-for :delivered-to:from:to:cc:subject:date:message-id:x-mailer :x-gm-message-state:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :x-google-group-id:list-post:list-help:list-archive:list-unsubscribe; bh=PP4MOFyG4ygyFFp8hNTAzNbh1vyWLbROCxW8Dcrg/a8=; b=oSXO8BkjoCAurvOYRy7qvWYZ1snkwdQp9px915cYOgcKL4HuDw2Tq/DEYN8odKQ7f8 TMEt8i8oyF2gIIwzMAVmeZ6yRCpLDpbAu2RjRSEND+aJEZt4zzSW9VxUTm5tIBxZZh/p qiaAo9i2KevCefvN2Apcr7ELvKrQyYYTviNFelvjdthlXSORWzYGNsSJOzKZGQepYHne FRuR7tZUlXC1fcUAJQMRmdqGlcfcieSFMFur+KjB3pUrzy3e3Krz5rF4xxvMQ+ERZ2h7 gcPIw1CUB7I8qlTF5vJFRhPtL/I3Q2mc4isSd5Rzka05ER34qWCAWXcfSNTfrVMiNiuK 7iBQ== X-Received: by 10.224.36.66 with SMTP id s2mr3736589qad.6.1369224304426; Wed, 22 May 2013 05:05:04 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.49.35.136 with SMTP id h8ls792267qej.31.gmail; Wed, 22 May 2013 05:05:04 -0700 (PDT) X-Received: by 10.220.213.131 with SMTP id gw3mr2710705vcb.27.1369224304234; Wed, 22 May 2013 05:05:04 -0700 (PDT) Received: from mail-ve0-x233.google.com (mail-ve0-x233.google.com [2607:f8b0:400c:c01::233]) by mx.google.com with ESMTPS id fg10si3495311vcb.31.2013.05.22.05.05.04 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 22 May 2013 05:05:04 -0700 (PDT) Received-SPF: neutral (google.com: 2607:f8b0:400c:c01::233 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=2607:f8b0:400c:c01::233; Received: by mail-ve0-f179.google.com with SMTP id oz10so1353288veb.24 for ; Wed, 22 May 2013 05:05:04 -0700 (PDT) X-Received: by 10.52.34.114 with SMTP id y18mr2270126vdi.56.1369224304062; Wed, 22 May 2013 05:05:04 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patches@linaro.org Received: by 10.220.126.138 with SMTP id c10csp179036vcs; Wed, 22 May 2013 05:05:03 -0700 (PDT) X-Received: by 10.68.229.138 with SMTP id sq10mr7453574pbc.38.1369224302608; Wed, 22 May 2013 05:05:02 -0700 (PDT) Received: from mail-pb0-x236.google.com (mail-pb0-x236.google.com [2607:f8b0:400e:c01::236]) by mx.google.com with ESMTPS id ch5si5686472pad.17.2013.05.22.05.05.02 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 22 May 2013 05:05:02 -0700 (PDT) Received-SPF: neutral (google.com: 2607:f8b0:400e:c01::236 is neither permitted nor denied by best guess record for domain of sachin.kamat@linaro.org) client-ip=2607:f8b0:400e:c01::236; Received: by mail-pb0-f54.google.com with SMTP id ro12so1616069pbb.41 for ; Wed, 22 May 2013 05:05:02 -0700 (PDT) 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 Cc: inki.dae@samsung.com, sw0312.kim@samsung.com, sachin.kamat@linaro.org, patches@linaro.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: ALoCoQm/hA6ONtfQllcI3pjDH+QAzipxJabEAOo5SHY7UVpsA3w4iq0RcedkmVvzBt4ahf987b+G X-Original-Sender: sachin.kamat@linaro.org X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 2607:f8b0:400c:c01::233 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Precedence: list Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org List-ID: X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , '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 {