From patchwork Sat Sep 28 12:12:12 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sachin Kamat X-Patchwork-Id: 278738 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from mail-pb0-x240.google.com (mail-pb0-x240.google.com [IPv6:2607:f8b0:400e:c01::240]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (not verified)) by ozlabs.org (Postfix) with ESMTPS id BCF182C00CC for ; Sat, 28 Sep 2013 22:12:33 +1000 (EST) Received: by mail-pb0-f64.google.com with SMTP id xb4sf760407pbc.19 for ; Sat, 28 Sep 2013 05:12:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20120806; h=mime-version:from:to:cc:subject:date:message-id:in-reply-to :references:x-original-sender:x-original-authentication-results :reply-to:precedence:mailing-list:list-id:list-post:list-help :list-archive:sender:list-subscribe:list-unsubscribe:content-type; bh=bweodDR3WrBNNttZmdAGYvQFIskgDXxLMyQ8tXJPJ1o=; b=kbakyunC9EFPE0OTG5PtDq6t35V/UAKspsbNUTcacXWjPLlV+M4eoidDPP8qbV8DRa rtlXnVkUvc1bR8Duy1RYtu3Yg8o0mMGSCCEy10OGWFZGs5ea+1akQvgZo6nKjlnU+ZhB euQmgLqLf1llyiaPRo8zr1NwQYG611id0F+QlcIotH56UiI9LBIUjLpr2djaCUWmSSS8 ua4M+X4NQ6XS94EjI7dAPj6O/qvqTWJGPVtpACoH1JVLrJsn7Y0oiOFli4uwTQpzhHhV 8kPwSvCF1iGVIF758oIV15y86zbb3cUtjZOH3D8BUhKZgEdQAihpN7yDmQ6xNcNxahfx Eg2w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :in-reply-to:references:x-original-sender :x-original-authentication-results:reply-to:precedence:mailing-list :list-id:list-post:list-help:list-archive:sender:list-subscribe :list-unsubscribe:content-type; bh=bweodDR3WrBNNttZmdAGYvQFIskgDXxLMyQ8tXJPJ1o=; b=ZrI+XYgIR7BWgrbeQjqwU6jS94FhFDUflQI5Mnr3Ct8CoAxGDVYyrm/Igvet/jYJ6f NT3EgPNzBrA9wB+O1R0KmoT7DDKAQQ1GNnHjf+hnXcQS6kdLoX4jFf7rFPhUK2ySd/nD jFq3znZX8vEkw646SGW8SSkcHLRWarFyZ09+VBLdOsIADsuxvxYGELvTA+6OxZWCjSw9 //an6q0GSk1qs+RFnBcvptygrDCEhUog8J3099i6oKCU1xqEtFCirpgSfFKUYW7B5Hsk +4Sd9zkTYEFZXTKOG+ipb83uamiEdU2oyrAvPPvxAVFxUbFnizeUq9i3n7wPWch7b8sQ vaEQ== X-Received: by 10.50.8.42 with SMTP id o10mr245486iga.3.1380370351686; Sat, 28 Sep 2013 05:12:31 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: rtc-linux@googlegroups.com Received: by 10.50.66.168 with SMTP id g8ls886677igt.25.gmail; Sat, 28 Sep 2013 05:12:31 -0700 (PDT) X-Received: by 10.66.172.79 with SMTP id ba15mr16169632pac.26.1380370351426; Sat, 28 Sep 2013 05:12:31 -0700 (PDT) Received: from mail-pa0-f47.google.com (mail-pa0-f47.google.com [209.85.220.47]) by gmr-mx.google.com with ESMTPS id hx4si2194917pad.1.1969.12.31.16.00.00 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sat, 28 Sep 2013 05:12:31 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.220.47 is neither permitted nor denied by best guess record for domain of sachin.kamat@linaro.org) client-ip=209.85.220.47; Received: by mail-pa0-f47.google.com with SMTP id kp14so3897456pab.34 for ; Sat, 28 Sep 2013 05:12:31 -0700 (PDT) X-Gm-Message-State: ALoCoQk89rjAfSyqx1HeBVOd8v9StZKns4vvHADv/We2rgoWgX0Mcn0LwQrNlYbHsclL16CIBEcr X-Received: by 10.68.143.38 with SMTP id sb6mr12934517pbb.44.1380370351336; Sat, 28 Sep 2013 05:12:31 -0700 (PDT) Received: from linaro.sisodomain.com ([115.113.119.130]) by mx.google.com with ESMTPSA id hx1sm14697469pbb.35.1969.12.31.16.00.00 (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sat, 28 Sep 2013 05:12:30 -0700 (PDT) From: Sachin Kamat To: rtc-linux@googlegroups.com Cc: a.zummo@towertech.it, akpm@linux-foundation.org, sachin.kamat@linaro.org Subject: [rtc-linux] [PATCH 5/5] drivers/rtc/rtc-stmp3xxx.c: Remove redundant of_match_ptr Date: Sat, 28 Sep 2013 17:42:12 +0530 Message-Id: <1380370332-4453-5-git-send-email-sachin.kamat@linaro.org> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1380370332-4453-1-git-send-email-sachin.kamat@linaro.org> References: <1380370332-4453-1-git-send-email-sachin.kamat@linaro.org> X-Original-Sender: sachin.kamat@linaro.org X-Original-Authentication-Results: gmr-mx.google.com; spf=neutral (google.com: 209.85.220.47 is neither permitted nor denied by best guess record for domain of sachin.kamat@linaro.org) smtp.mail=sachin.kamat@linaro.org Reply-To: rtc-linux@googlegroups.com Precedence: list Mailing-list: list rtc-linux@googlegroups.com; contact rtc-linux+owners@googlegroups.com List-ID: X-Google-Group-Id: 712029733259 List-Post: , List-Help: , List-Archive: Sender: rtc-linux@googlegroups.com List-Subscribe: , List-Unsubscribe: , The data structure of_match_ptr() protects is always compiled in. Hence of_match_ptr() is not needed. Signed-off-by: Sachin Kamat --- drivers/rtc/rtc-stmp3xxx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/rtc/rtc-stmp3xxx.c b/drivers/rtc/rtc-stmp3xxx.c index 2601953..ea96492 100644 --- a/drivers/rtc/rtc-stmp3xxx.c +++ b/drivers/rtc/rtc-stmp3xxx.c @@ -343,7 +343,7 @@ static struct platform_driver stmp3xxx_rtcdrv = { .name = "stmp3xxx-rtc", .owner = THIS_MODULE, .pm = &stmp3xxx_rtc_pm_ops, - .of_match_table = of_match_ptr(rtc_dt_ids), + .of_match_table = rtc_dt_ids, }, };