From patchwork Thu May 23 04:51:19 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sachin Kamat X-Patchwork-Id: 17106 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-qa0-f71.google.com (mail-qa0-f71.google.com [209.85.216.71]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 6FC5B25A0A for ; Thu, 23 May 2013 05:06:03 +0000 (UTC) Received: by mail-qa0-f71.google.com with SMTP id bv4sf3495345qab.10 for ; Wed, 22 May 2013 22:05:09 -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 :in-reply-to:references: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=HX685nB1QWJ0kq4m8LpMUDrkDABuqeIECqSUUHS4Qp4=; b=fX6Fr0Pb59ZnF5QbVNKSgToPLKy4FJY092FVsmvvq8r0Z2bLWGC4eyMk7KioempnCE +BjbDa5zrgrdRJhUxUrmIWjohOTM32yaJJInYjugsuBrc3R1BUL8WO/AroV8w2XI1Xsl NrPggVf8v6jMIDpW8r1XeRgn9xdcGyTj3ZkFeJUImdyFIv7pQNHQ108sWINmd3NdH68b zhMOH8c/1JDXRfmPtHdOQPTPD982O268YCWY0rtw2XumXlC6e7y7Oqu4oFtHaOCK6PUR PHon28L9SwENVUW9bRBMV2DWM2mpWXT+izlEdggP64ic/+W2++ficWggC8Rlxa5u21jo njWQ== X-Received: by 10.224.42.141 with SMTP id s13mr5537119qae.3.1369285509120; Wed, 22 May 2013 22:05:09 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.49.40.131 with SMTP id x3ls1148349qek.40.gmail; Wed, 22 May 2013 22:05:09 -0700 (PDT) X-Received: by 10.220.177.8 with SMTP id bg8mr4131078vcb.35.1369285508941; Wed, 22 May 2013 22:05:08 -0700 (PDT) Received: from mail-vc0-f181.google.com (mail-vc0-f181.google.com [209.85.220.181]) by mx.google.com with ESMTPS id om10si5348423vec.4.2013.05.22.22.05.08 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 22 May 2013 22:05:08 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.220.181 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=209.85.220.181; Received: by mail-vc0-f181.google.com with SMTP id lf11so1836870vcb.26 for ; Wed, 22 May 2013 22:05:08 -0700 (PDT) X-Received: by 10.58.172.67 with SMTP id ba3mr4055839vec.58.1369285508744; Wed, 22 May 2013 22:05:08 -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 c10csp31761vcs; Wed, 22 May 2013 22:05:07 -0700 (PDT) X-Received: by 10.66.11.164 with SMTP id r4mr11497381pab.221.1369285507587; Wed, 22 May 2013 22:05:07 -0700 (PDT) Received: from mail-pa0-f52.google.com (mail-pa0-f52.google.com [209.85.220.52]) by mx.google.com with ESMTPS id wn4si7125000pbc.55.2013.05.22.22.05.07 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 22 May 2013 22:05:07 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.220.52 is neither permitted nor denied by best guess record for domain of sachin.kamat@linaro.org) client-ip=209.85.220.52; Received: by mail-pa0-f52.google.com with SMTP id bg2so2531706pad.25 for ; Wed, 22 May 2013 22:05:07 -0700 (PDT) X-Received: by 10.66.157.130 with SMTP id wm2mr11487387pab.156.1369285507147; Wed, 22 May 2013 22:05:07 -0700 (PDT) Received: from linaro.sisodomain.com ([115.113.119.130]) by mx.google.com with ESMTPSA id ih1sm10110610pbb.44.2013.05.22.22.05.04 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 22 May 2013 22:05:06 -0700 (PDT) From: Sachin Kamat To: linux-media@vger.kernel.org Cc: s.nawrocki@samsung.com, sylvester.nawrocki@gmail.com, sachin.kamat@linaro.org, patches@linaro.org, Kamil Debski Subject: [PATCH 2/2] [media] s5p-mfc: Remove redundant use of of_match_ptr macro Date: Thu, 23 May 2013 10:21:19 +0530 Message-Id: <1369284679-14716-2-git-send-email-sachin.kamat@linaro.org> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1369284679-14716-1-git-send-email-sachin.kamat@linaro.org> References: <1369284679-14716-1-git-send-email-sachin.kamat@linaro.org> X-Gm-Message-State: ALoCoQkAyhye0CLxAuwoSK+9sLwIgBKiIKZNT5oBZ49znRQWB7l6peRbAL7EP0wSS/DjmG4azo+D X-Original-Sender: sachin.kamat@linaro.org X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.220.181 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: , 'exynos_mfc_match' is always compiled in. Hence of_match_ptr is unnecessary. Signed-off-by: Sachin Kamat Cc: Kamil Debski --- drivers/media/platform/s5p-mfc/s5p_mfc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/media/platform/s5p-mfc/s5p_mfc.c b/drivers/media/platform/s5p-mfc/s5p_mfc.c index 01f9ae0..5d0419b 100644 --- a/drivers/media/platform/s5p-mfc/s5p_mfc.c +++ b/drivers/media/platform/s5p-mfc/s5p_mfc.c @@ -1426,7 +1426,7 @@ static void *mfc_get_drv_data(struct platform_device *pdev) if (pdev->dev.of_node) { const struct of_device_id *match; - match = of_match_node(of_match_ptr(exynos_mfc_match), + match = of_match_node(exynos_mfc_match, pdev->dev.of_node); if (match) driver_data = (struct s5p_mfc_variant *)match->data;