From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alexandre Belloni Subject: Re: [PATCH 4/6] parisc: rtc: provide rtc_class_ops directly Date: Thu, 10 Mar 2016 05:34:12 +0100 Message-ID: <20160310043412.GC9868@piout.net> References: <1456851608-3374907-1-git-send-email-arnd@arndb.de> <1456851608-3374907-5-git-send-email-arnd@arndb.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <1456851608-3374907-5-git-send-email-arnd@arndb.de> Sender: linux-m68k-owner@vger.kernel.org List-Id: linux-m68k@vger.kernel.org To: Arnd Bergmann Cc: linux-arm-kernel@lists.infradead.org, Kyle McMartin , rtc-linux@googlegroups.com, Alessandro Zummo , linuxppc-dev@lists.ozlabs.org, linux-sh@vger.kernel.org, linux-parisc@vger.kernel.org, linux-m68k@lists.linux-m68k.org, "James E.J. Bottomley" , Helge Deller , linux-kernel@vger.kernel.org On 01/03/2016 at 18:00:00 +0100, Arnd Bergmann wrote : > - pdev = platform_device_register_simple("rtc-generic", -1, NULL, 0); > + pdev = platform_device_register_data(NULL, "rtc-generic", -1, > + &rtc_generic_ops, > + sizeof(rtc_generic_ops)); > + > + spurious blank line > return PTR_ERR_OR_ZERO(pdev); > } > device_initcall(rtc_init); > -- > 2.7.0 > -- Alexandre Belloni, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.free-electrons.com (down.free-electrons.com. [37.187.137.238]) by gmr-mx.google.com with ESMTP id c7si56575wmf.2.2016.03.09.20.34.25 for ; Wed, 09 Mar 2016 20:34:25 -0800 (PST) Date: Thu, 10 Mar 2016 05:34:12 +0100 From: Alexandre Belloni To: Arnd Bergmann Cc: linux-arm-kernel@lists.infradead.org, Kyle McMartin , rtc-linux@googlegroups.com, Alessandro Zummo , linuxppc-dev@lists.ozlabs.org, linux-sh@vger.kernel.org, linux-parisc@vger.kernel.org, linux-m68k@lists.linux-m68k.org, "James E.J. Bottomley" , Helge Deller , linux-kernel@vger.kernel.org Subject: [rtc-linux] Re: [PATCH 4/6] parisc: rtc: provide rtc_class_ops directly Message-ID: <20160310043412.GC9868@piout.net> References: <1456851608-3374907-1-git-send-email-arnd@arndb.de> <1456851608-3374907-5-git-send-email-arnd@arndb.de> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 In-Reply-To: <1456851608-3374907-5-git-send-email-arnd@arndb.de> Reply-To: rtc-linux@googlegroups.com List-ID: List-Post: , List-Help: , List-Archive: , List-Unsubscribe: , On 01/03/2016 at 18:00:00 +0100, Arnd Bergmann wrote : > - pdev = platform_device_register_simple("rtc-generic", -1, NULL, 0); > + pdev = platform_device_register_data(NULL, "rtc-generic", -1, > + &rtc_generic_ops, > + sizeof(rtc_generic_ops)); > + > + spurious blank line > return PTR_ERR_OR_ZERO(pdev); > } > device_initcall(rtc_init); > -- > 2.7.0 > -- Alexandre Belloni, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com -- -- You received this message because you are subscribed to "rtc-linux". Membership options at http://groups.google.com/group/rtc-linux . Please read http://groups.google.com/group/rtc-linux/web/checklist before submitting a driver. --- You received this message because you are subscribed to the Google Groups "rtc-linux" group. To unsubscribe from this group and stop receiving emails from it, send an email to rtc-linux+unsubscribe@googlegroups.com. For more options, visit https://groups.google.com/d/optout. From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alexandre Belloni Date: Thu, 10 Mar 2016 04:34:12 +0000 Subject: Re: [PATCH 4/6] parisc: rtc: provide rtc_class_ops directly Message-Id: <20160310043412.GC9868@piout.net> List-Id: References: <1456851608-3374907-1-git-send-email-arnd@arndb.de> <1456851608-3374907-5-git-send-email-arnd@arndb.de> In-Reply-To: <1456851608-3374907-5-git-send-email-arnd@arndb.de> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-arm-kernel@lists.infradead.org On 01/03/2016 at 18:00:00 +0100, Arnd Bergmann wrote : > - pdev = platform_device_register_simple("rtc-generic", -1, NULL, 0); > + pdev = platform_device_register_data(NULL, "rtc-generic", -1, > + &rtc_generic_ops, > + sizeof(rtc_generic_ops)); > + > + spurious blank line > return PTR_ERR_OR_ZERO(pdev); > } > device_initcall(rtc_init); > -- > 2.7.0 > -- Alexandre Belloni, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com From mboxrd@z Thu Jan 1 00:00:00 1970 From: alexandre.belloni@free-electrons.com (Alexandre Belloni) Date: Thu, 10 Mar 2016 05:34:12 +0100 Subject: [PATCH 4/6] parisc: rtc: provide rtc_class_ops directly In-Reply-To: <1456851608-3374907-5-git-send-email-arnd@arndb.de> References: <1456851608-3374907-1-git-send-email-arnd@arndb.de> <1456851608-3374907-5-git-send-email-arnd@arndb.de> Message-ID: <20160310043412.GC9868@piout.net> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On 01/03/2016 at 18:00:00 +0100, Arnd Bergmann wrote : > - pdev = platform_device_register_simple("rtc-generic", -1, NULL, 0); > + pdev = platform_device_register_data(NULL, "rtc-generic", -1, > + &rtc_generic_ops, > + sizeof(rtc_generic_ops)); > + > + spurious blank line > return PTR_ERR_OR_ZERO(pdev); > } > device_initcall(rtc_init); > -- > 2.7.0 > -- Alexandre Belloni, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754435AbcCJEe3 (ORCPT ); Wed, 9 Mar 2016 23:34:29 -0500 Received: from down.free-electrons.com ([37.187.137.238]:60353 "EHLO mail.free-electrons.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751271AbcCJEe1 (ORCPT ); Wed, 9 Mar 2016 23:34:27 -0500 Date: Thu, 10 Mar 2016 05:34:12 +0100 From: Alexandre Belloni To: Arnd Bergmann Cc: linux-arm-kernel@lists.infradead.org, Kyle McMartin , rtc-linux@googlegroups.com, Alessandro Zummo , linuxppc-dev@lists.ozlabs.org, linux-sh@vger.kernel.org, linux-parisc@vger.kernel.org, linux-m68k@vger.kernel.org, "James E.J. Bottomley" , Helge Deller , linux-kernel@vger.kernel.org Subject: Re: [PATCH 4/6] parisc: rtc: provide rtc_class_ops directly Message-ID: <20160310043412.GC9868@piout.net> References: <1456851608-3374907-1-git-send-email-arnd@arndb.de> <1456851608-3374907-5-git-send-email-arnd@arndb.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1456851608-3374907-5-git-send-email-arnd@arndb.de> User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 01/03/2016 at 18:00:00 +0100, Arnd Bergmann wrote : > - pdev = platform_device_register_simple("rtc-generic", -1, NULL, 0); > + pdev = platform_device_register_data(NULL, "rtc-generic", -1, > + &rtc_generic_ops, > + sizeof(rtc_generic_ops)); > + > + spurious blank line > return PTR_ERR_OR_ZERO(pdev); > } > device_initcall(rtc_init); > -- > 2.7.0 > -- Alexandre Belloni, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com