From patchwork Mon Sep 30 08:45:33 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sachin Kamat X-Patchwork-Id: 2962911 Return-Path: X-Original-To: patchwork-linux-fbdev@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 1082CBFF0B for ; Mon, 30 Sep 2013 08:45:55 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id EA8C520176 for ; Mon, 30 Sep 2013 08:45:53 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id B00DA20163 for ; Mon, 30 Sep 2013 08:45:52 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752775Ab3I3Ipw (ORCPT ); Mon, 30 Sep 2013 04:45:52 -0400 Received: from mail-pd0-f177.google.com ([209.85.192.177]:59873 "EHLO mail-pd0-f177.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752368Ab3I3Ipv (ORCPT ); Mon, 30 Sep 2013 04:45:51 -0400 Received: by mail-pd0-f177.google.com with SMTP id y10so5358040pdj.36 for ; Mon, 30 Sep 2013 01:45:51 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=DzYNv+q3RNuIB+MZrQ2t0FkM4CC6UYSfUSu0RxTFEx0=; b=XiciYGzB5Aqeroa4sys3Up5a/CM28Su4+yhVGvd8vyDO6R/1vwb/ApNd4FCIE+hD8n B9qQ0Z0VYCynJ5/+3uf+hgrQclUf60yADQ9GZdi157BKJOO5z6fb4Bk50HRlSf8/VaIP XulLX27JdegtKOaMG5xYYbevX5Gi5vdL6zY7OiG4YpC2pEXOE+a+EyD1dTR4rBgjDDAA SF3RV0B9WHVrk6D0zP09nQfSkjLuOhYu29KshoYc2YBZPHYeaB5J4lDdwrPpWputBVA9 gBCi646t8sz3xlOLYJ6Sgir27Q/n1/oxU0f17aJ8VebTzEZbegTXFWsCKGeKvKTu2vUU 1Fiw== X-Gm-Message-State: ALoCoQmKJHO1t6pv3LwsFKNQJXogdlQG4CHMHqDaIgDyef7YWSElbL8imt5hBvO0j6VAeQrojZqW X-Received: by 10.66.136.167 with SMTP id qb7mr27163262pab.43.1380530751490; Mon, 30 Sep 2013 01:45:51 -0700 (PDT) Received: from linaro.sisodomain.com ([115.113.119.130]) by mx.google.com with ESMTPSA id xv2sm25387862pbb.39.1969.12.31.16.00.00 (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 30 Sep 2013 01:45:50 -0700 (PDT) From: Sachin Kamat To: linux-fbdev@vger.kernel.org Cc: tomi.valkeinen@ti.com, plagnioj@jcrosoft.com, sachin.kamat@linaro.org, Alexey Charkov Subject: [PATCH 3/3] video: wmt_ge_rops: Remove redundant of_match_ptr Date: Mon, 30 Sep 2013 14:15:33 +0530 Message-Id: <1380530733-9070-3-git-send-email-sachin.kamat@linaro.org> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1380530733-9070-1-git-send-email-sachin.kamat@linaro.org> References: <1380530733-9070-1-git-send-email-sachin.kamat@linaro.org> Sender: linux-fbdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-fbdev@vger.kernel.org X-Spam-Status: No, score=-7.5 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP The data structure of_match_ptr() protects is always compiled in. Hence of_match_ptr() is not needed. Signed-off-by: Sachin Kamat Cc: Alexey Charkov --- drivers/video/wmt_ge_rops.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/video/wmt_ge_rops.c b/drivers/video/wmt_ge_rops.c index 4aaeb18..d4ef841 100644 --- a/drivers/video/wmt_ge_rops.c +++ b/drivers/video/wmt_ge_rops.c @@ -169,7 +169,7 @@ static struct platform_driver wmt_ge_rops_driver = { .driver = { .owner = THIS_MODULE, .name = "wmt_ge_rops", - .of_match_table = of_match_ptr(wmt_dt_ids), + .of_match_table = wmt_dt_ids, }, };