From patchwork Mon Sep 30 08:45:31 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sachin Kamat X-Patchwork-Id: 2962891 Return-Path: X-Original-To: patchwork-linux-fbdev@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id C26DF9F288 for ; Mon, 30 Sep 2013 08:45:49 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 9981D20176 for ; Mon, 30 Sep 2013 08:45:48 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 4271020163 for ; Mon, 30 Sep 2013 08:45:47 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752230Ab3I3Ipq (ORCPT ); Mon, 30 Sep 2013 04:45:46 -0400 Received: from mail-pa0-f54.google.com ([209.85.220.54]:57729 "EHLO mail-pa0-f54.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751267Ab3I3Ipq (ORCPT ); Mon, 30 Sep 2013 04:45:46 -0400 Received: by mail-pa0-f54.google.com with SMTP id kx10so5629698pab.27 for ; Mon, 30 Sep 2013 01:45:45 -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; bh=VpiKBJ3CPEwZ2I/S9y1EzIxvDAnkU3HPleDcKLfhutw=; b=XWr6ZT2sFrcQwUvZB/M4SptwTdJ+QsltJ8d8gxfXSYimBaKxykkamD8K0O10N2lQGV legrOxwV76EiafyReErwTDo2gd7Qy1Iwjfu4RCo7SWc2jLAmnObLoUMJZPFIIlg3k40A cwdqf7O214SGKytdYi1nUIuT5MoDDwAPdos+kOKf98K+PbNbQfLW/d2ugOXp4F7RYbY0 HDamunnY1jJUxdqsY9q9zAFamB1mxVRiWoxolqKNeeAMdZFGolxkhmpdNbn1cv5gpqUc gKXzA9Q75RboRhY0yaQ/wv8tOVH569oZRx3YJQ9/9AMpsAeErjOJt1wUoQWKZqp77V1b AWoA== X-Gm-Message-State: ALoCoQmubjVaTG+abHC0RODGUlCmqIXnTVTiQxclHyhHcUuq8PnjHv97JD8HXOfZbLB7LPZunBe8 X-Received: by 10.66.150.69 with SMTP id ug5mr27088479pab.55.1380530745609; Mon, 30 Sep 2013 01:45:45 -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:44 -0700 (PDT) From: Sachin Kamat To: linux-fbdev@vger.kernel.org Cc: tomi.valkeinen@ti.com, plagnioj@jcrosoft.com, sachin.kamat@linaro.org, Maxime Ripard Subject: [PATCH 1/3] video: ssd1307fb: Remove redundant of_match_ptr Date: Mon, 30 Sep 2013 14:15:31 +0530 Message-Id: <1380530733-9070-1-git-send-email-sachin.kamat@linaro.org> X-Mailer: git-send-email 1.7.9.5 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: Maxime Ripard Acked-by: Maxime Ripard --- drivers/video/ssd1307fb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/video/ssd1307fb.c b/drivers/video/ssd1307fb.c index 44967c8..f4daa59 100644 --- a/drivers/video/ssd1307fb.c +++ b/drivers/video/ssd1307fb.c @@ -569,7 +569,7 @@ static struct i2c_driver ssd1307fb_driver = { .id_table = ssd1307fb_i2c_id, .driver = { .name = "ssd1307fb", - .of_match_table = of_match_ptr(ssd1307fb_of_match), + .of_match_table = ssd1307fb_of_match, .owner = THIS_MODULE, }, };