From patchwork Mon Sep 30 08:45:32 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sachin Kamat X-Patchwork-Id: 2962901 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 B2EDCBFF0B for ; Mon, 30 Sep 2013 08:45:52 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 87AAA20176 for ; Mon, 30 Sep 2013 08:45:51 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 5D3EE20163 for ; Mon, 30 Sep 2013 08:45:50 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752771Ab3I3Ipu (ORCPT ); Mon, 30 Sep 2013 04:45:50 -0400 Received: from mail-pd0-f174.google.com ([209.85.192.174]:38605 "EHLO mail-pd0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752368Ab3I3Ipt (ORCPT ); Mon, 30 Sep 2013 04:45:49 -0400 Received: by mail-pd0-f174.google.com with SMTP id y13so5366718pdi.33 for ; Mon, 30 Sep 2013 01:45:48 -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=8VP9Zm39jPM3Eq/U6CiNAStyM8bEaIulPbulwnit0iU=; b=ADgjru4+QWJtRx9+/RkuGbJg0OO4qr0zCpkYirC1IfDlTLMxPJWGpqF8RA8raDE9lh Z3ELvakvZS2xE0E5YFIO9I5sMqsaPfYhy3WkCjL3tVlncs/YQDHsMqkU2M1Kyj7WjwF+ sL+9ukIuaHNHXXPkmG9w5zGQtlfkqz18Mvy3p3Eq4PwWGrKbTpbg3yMnSmpEyX2kiO/u W8IoP3YOS9/iANfDGwIVTLGbEwyZKz6VWdVctJDxCTAeVHpTAcXlxBoTjU45Cp0Wkr6Q mCNmWVg5e3oKLqmHuGRMKH8lgjFkUqrElBR9LI9/rDdK3GMIjrfC1C9YNQDXlLkPEsdG iiDQ== X-Gm-Message-State: ALoCoQno2Ce2815fpfUT3ggaitQW4HJNKBJiWqk8VeP/MQUm6BEZ5X6ROsOavmeCNXr9J/ggzG4y X-Received: by 10.68.34.197 with SMTP id b5mr798810pbj.188.1380530748430; Mon, 30 Sep 2013 01:45:48 -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:47 -0700 (PDT) From: Sachin Kamat To: linux-fbdev@vger.kernel.org Cc: tomi.valkeinen@ti.com, plagnioj@jcrosoft.com, sachin.kamat@linaro.org, Ed Spiridonov Subject: [PATCH 2/3] video: wm8505fb: Remove redundant of_match_ptr Date: Mon, 30 Sep 2013 14:15:32 +0530 Message-Id: <1380530733-9070-2-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: Ed Spiridonov --- drivers/video/wm8505fb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/video/wm8505fb.c b/drivers/video/wm8505fb.c index 3072f30..2bf6180 100644 --- a/drivers/video/wm8505fb.c +++ b/drivers/video/wm8505fb.c @@ -411,7 +411,7 @@ static struct platform_driver wm8505fb_driver = { .driver = { .owner = THIS_MODULE, .name = DRIVER_NAME, - .of_match_table = of_match_ptr(wmt_dt_ids), + .of_match_table = wmt_dt_ids, }, };