From mboxrd@z Thu Jan 1 00:00:00 1970 From: Patrice Chotard Subject: Re: [PATCH V2 63/63] clocksources: Switch back to the clksrc table Date: Mon, 20 Jun 2016 09:43:21 +0200 Message-ID: <57679E99.6090607@st.com> References: <1466112442-31105-1-git-send-email-daniel.lezcano@linaro.org> <1466112442-31105-64-git-send-email-daniel.lezcano@linaro.org> Mime-Version: 1.0 Content-Type: text/plain; charset="windows-1252"; format=flowed Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1466112442-31105-64-git-send-email-daniel.lezcano@linaro.org> Sender: linux-mips-bounce@linux-mips.org Errors-to: linux-mips-bounce@linux-mips.org List-help: List-unsubscribe: List-software: Ecartis version 1.0.0 List-subscribe: List-owner: List-post: List-archive: To: Daniel Lezcano , tglx@linutronix.de Cc: linux-kernel@vger.kernel.org, Vineet Gupta , Russell King , Michal Simek , John Crispin , Ralf Baechle , Ley Foon Tan , Srinivas Kandagatla , Maxime Coquelin , Stephen Warren , Lee Jones , Eric Anholt , Florian Fainelli , Ray Jui , Scott Branden , =?UTF-8?Q?S=c3=b6ren_Brinkmann?= , Linus Walleij , Alexander Shiyan , Kukjin Kim , Krzysztof Kozlowski List-Id: linux-tegra@vger.kernel.org On 06/16/2016 11:27 PM, Daniel Lezcano wrote: > All the clocksource drivers's init function are now converted to return > an error code. CLOCKSOURCE_OF_DECLARE is no longer used as well as the > clksrc-of table. > > Let's convert back the names: > - CLOCKSOURCE_OF_DECLARE_RET => CLOCKSOURCE_OF_DECLARE > - clksrc-of-ret => clksrc-of > > > drivers/clocksource/clksrc_st_lpc.c | 2 +- > diff --git a/drivers/clocksource/clksrc_st_lpc.c b/drivers/clocksource/clksrc_st_lpc.c > index c9022a9..03cc492 100644 > --- a/drivers/clocksource/clksrc_st_lpc.c > +++ b/drivers/clocksource/clksrc_st_lpc.c > @@ -132,4 +132,4 @@ static int __init st_clksrc_of_register(struct device_node *np) > > return ret; > } > -CLOCKSOURCE_OF_DECLARE_RET(ddata, "st,stih407-lpc", st_clksrc_of_register); > +CLOCKSOURCE_OF_DECLARE(ddata, "st,stih407-lpc", st_clksrc_of_register); > For STi : Acked-by: Patrice Chotard Thanks From mboxrd@z Thu Jan 1 00:00:00 1970 Received: with ECARTIS (v1.0.0; list linux-mips); Mon, 20 Jun 2016 09:45:00 +0200 (CEST) Received: from mx08-00178001.pphosted.com ([91.207.212.93]:60171 "EHLO mx07-00178001.pphosted.com" rhost-flags-OK-OK-OK-FAIL) by eddie.linux-mips.org with ESMTP id S27041677AbcFTHo6KaFlp (ORCPT ); Mon, 20 Jun 2016 09:44:58 +0200 Received: from pps.filterd (m0046661.ppops.net [127.0.0.1]) by mx08-00178001.pphosted.com (8.16.0.11/8.16.0.11) with SMTP id u5K7di2p024211; Mon, 20 Jun 2016 09:43:31 +0200 Received: from beta.dmz-eu.st.com (beta.dmz-eu.st.com [164.129.1.35]) by mx08-00178001.pphosted.com with ESMTP id 23mw6dsb91-1 (version=TLSv1 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NOT); Mon, 20 Jun 2016 09:43:31 +0200 Received: from zeta.dmz-eu.st.com (zeta.dmz-eu.st.com [164.129.230.9]) by beta.dmz-eu.st.com (STMicroelectronics) with ESMTP id C676B38; Mon, 20 Jun 2016 07:43:27 +0000 (GMT) Received: from Webmail-eu.st.com (Safex1hubcas22.st.com [10.75.90.92]) by zeta.dmz-eu.st.com (STMicroelectronics) with ESMTP id 5F7821235; Mon, 20 Jun 2016 07:43:26 +0000 (GMT) Received: from [10.48.1.66] (10.48.1.66) by Webmail-ga.st.com (10.75.90.48) with Microsoft SMTP Server (TLS) id 14.3.279.2; Mon, 20 Jun 2016 09:43:26 +0200 Subject: Re: [PATCH V2 63/63] clocksources: Switch back to the clksrc table To: Daniel Lezcano , References: <1466112442-31105-1-git-send-email-daniel.lezcano@linaro.org> <1466112442-31105-64-git-send-email-daniel.lezcano@linaro.org> CC: , Vineet Gupta , Russell King , Michal Simek , John Crispin , Ralf Baechle , Ley Foon Tan , Srinivas Kandagatla , Maxime Coquelin , Stephen Warren , Lee Jones , Eric Anholt , Florian Fainelli , Ray Jui , Scott Branden , =?UTF-8?Q?S=c3=b6ren_Brinkmann?= , Linus Walleij , Alexander Shiyan , Kukjin Kim , Krzysztof Kozlowski , Yoshinori Sato , Carlo Caione , Kevin Hilman , Liviu Dudau , Sudeep Holla , Lorenzo Pieralisi , Matthias Brugger , Heiko Stuebner , Maxime Ripard , Chen-Yu Tsai , Thierry Reding , Alexandre Courbot , =?UTF-8?Q?Uwe_Kleine-K=c3=b6nig?= , Joachim Eastwood , Vladimir Zapolskiy , Sylvain Lemieux , Barry Song , Baruch Siach , Santosh Shilimkar , Neil Armstrong , Tony Prisk , Arnd Bergmann , John Stultz , Noam Camus , Viresh Kumar , Adam Buchbinder , Tony Lindgren , Mark Rutland , Felipe Balbi , Marc Gonzalez , "Rafael J. Wysocki" , Hanjun Guo , Catalin Marinas , Marc Zyngier , "open list:SYNOPSYS ARC ARCH..." , "moderated list:ARM PORT" , "open list:RALINK MIPS ARCHI..." , "moderated list:NIOS2 ARCHITECTURE" , "open list:ARM/STI ARCHITECTURE" , "moderated list:BROADCOM BCM2835..." , "open list:BROADCOM BCM281XX..." , "moderated list:ARM/SAMSUNG EXYNO..." , "moderated list:H8/300 ARCHITECTURE" , "open list:ARM/Amlogic Meson..." , "moderated list:ARM/Mediatek SoC..." , "open list:ARM/Rockchip SoC..." , "open list:TEGRA ARCHITECTUR..." , "open list:GENERIC INCLUDE/A..." From: Patrice Chotard Message-ID: <57679E99.6090607@st.com> Date: Mon, 20 Jun 2016 09:43:21 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.8.0 MIME-Version: 1.0 In-Reply-To: <1466112442-31105-64-git-send-email-daniel.lezcano@linaro.org> Content-Type: text/plain; charset="windows-1252"; format=flowed Content-Transfer-Encoding: 7bit X-Originating-IP: [10.48.1.66] X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:,, definitions=2016-06-20_05:,, signatures=0 Return-Path: X-Envelope-To: <"|/home/ecartis/ecartis -s linux-mips"> (uid 0) X-Orcpt: rfc822;linux-mips@linux-mips.org Original-Recipient: rfc822;linux-mips@linux-mips.org X-archive-position: 54116 X-ecartis-version: Ecartis v1.0.0 Sender: linux-mips-bounce@linux-mips.org Errors-to: linux-mips-bounce@linux-mips.org X-original-sender: patrice.chotard@st.com Precedence: bulk List-help: List-unsubscribe: List-software: Ecartis version 1.0.0 List-Id: linux-mips X-List-ID: linux-mips List-subscribe: List-owner: List-post: List-archive: X-list: linux-mips On 06/16/2016 11:27 PM, Daniel Lezcano wrote: > All the clocksource drivers's init function are now converted to return > an error code. CLOCKSOURCE_OF_DECLARE is no longer used as well as the > clksrc-of table. > > Let's convert back the names: > - CLOCKSOURCE_OF_DECLARE_RET => CLOCKSOURCE_OF_DECLARE > - clksrc-of-ret => clksrc-of > > > drivers/clocksource/clksrc_st_lpc.c | 2 +- > diff --git a/drivers/clocksource/clksrc_st_lpc.c b/drivers/clocksource/clksrc_st_lpc.c > index c9022a9..03cc492 100644 > --- a/drivers/clocksource/clksrc_st_lpc.c > +++ b/drivers/clocksource/clksrc_st_lpc.c > @@ -132,4 +132,4 @@ static int __init st_clksrc_of_register(struct device_node *np) > > return ret; > } > -CLOCKSOURCE_OF_DECLARE_RET(ddata, "st,stih407-lpc", st_clksrc_of_register); > +CLOCKSOURCE_OF_DECLARE(ddata, "st,stih407-lpc", st_clksrc_of_register); > For STi : Acked-by: Patrice Chotard Thanks From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mx08-00178001.pphosted.com ([91.207.212.93]:60171 "EHLO mx07-00178001.pphosted.com" rhost-flags-OK-OK-OK-FAIL) by eddie.linux-mips.org with ESMTP id S27041677AbcFTHo6KaFlp (ORCPT ); Mon, 20 Jun 2016 09:44:58 +0200 Subject: Re: [PATCH V2 63/63] clocksources: Switch back to the clksrc table References: <1466112442-31105-1-git-send-email-daniel.lezcano@linaro.org> <1466112442-31105-64-git-send-email-daniel.lezcano@linaro.org> From: Patrice Chotard Message-ID: <57679E99.6090607@st.com> Date: Mon, 20 Jun 2016 09:43:21 +0200 MIME-Version: 1.0 In-Reply-To: <1466112442-31105-64-git-send-email-daniel.lezcano@linaro.org> Content-Type: text/plain; charset="windows-1252"; format=flowed Content-Transfer-Encoding: 7bit Return-Path: Sender: linux-mips-bounce@linux-mips.org Errors-to: linux-mips-bounce@linux-mips.org List-help: List-unsubscribe: List-software: Ecartis version 1.0.0 List-subscribe: List-owner: List-post: List-archive: To: Daniel Lezcano , tglx@linutronix.de Cc: linux-kernel@vger.kernel.org, Vineet Gupta , Russell King , Michal Simek , John Crispin , Ralf Baechle , Ley Foon Tan , Srinivas Kandagatla , Maxime Coquelin , Stephen Warren , Lee Jones , Eric Anholt , Florian Fainelli , Ray Jui , Scott Branden , =?UTF-8?Q?S=c3=b6ren_Brinkmann?= , Linus Walleij , Alexander Shiyan , Kukjin Kim , Krzysztof Kozlowski , Yoshinori Sato , Carlo Caione , Kevin Hilman , Liviu Dudau , Sudeep Holla , Lorenzo Pieralisi , Matthias Brugger , Heiko Stuebner , Maxime Ripard , Chen-Yu Tsai , Thierry Reding , Alexandre Courbot , =?UTF-8?Q?Uwe_Kleine-K=c3=b6nig?= , Joachim Eastwood , Vladimir Zapolskiy , Sylvain Lemieux , Barry Song , Baruch Siach , Santosh Shilimkar , Neil Armstrong , Tony Prisk , Arnd Bergmann , John Stultz , Noam Camus , Viresh Kumar , Adam Buchbinder , Tony Lindgren , Mark Rutland , Felipe Balbi , Marc Gonzalez , "Rafael J. Wysocki" , Hanjun Guo , Catalin Marinas , Marc Zyngier , "open list:SYNOPSYS ARC ARCH..." , "moderated list:ARM PORT" , "open list:RALINK MIPS ARCHI..." , "moderated list:NIOS2 ARCHITECTURE" , "open list:ARM/STI ARCHITECTURE" , "moderated list:BROADCOM BCM2835..." , "open list:BROADCOM BCM281XX..." , "moderated list:ARM/SAMSUNG EXYNO..." , "moderated list:H8/300 ARCHITECTURE" , "open list:ARM/Amlogic Meson..." , "moderated list:ARM/Mediatek SoC..." , "open list:ARM/Rockchip SoC..." , "open list:TEGRA ARCHITECTUR..." , "open list:GENERIC INCLUDE/A..." Message-ID: <20160620074321.fsAVqbmJ1Cu2KpH2HOXpBq9LkWDbKW8VcDV_Of6KOWg@z> On 06/16/2016 11:27 PM, Daniel Lezcano wrote: > All the clocksource drivers's init function are now converted to return > an error code. CLOCKSOURCE_OF_DECLARE is no longer used as well as the > clksrc-of table. > > Let's convert back the names: > - CLOCKSOURCE_OF_DECLARE_RET => CLOCKSOURCE_OF_DECLARE > - clksrc-of-ret => clksrc-of > > > drivers/clocksource/clksrc_st_lpc.c | 2 +- > diff --git a/drivers/clocksource/clksrc_st_lpc.c b/drivers/clocksource/clksrc_st_lpc.c > index c9022a9..03cc492 100644 > --- a/drivers/clocksource/clksrc_st_lpc.c > +++ b/drivers/clocksource/clksrc_st_lpc.c > @@ -132,4 +132,4 @@ static int __init st_clksrc_of_register(struct device_node *np) > > return ret; > } > -CLOCKSOURCE_OF_DECLARE_RET(ddata, "st,stih407-lpc", st_clksrc_of_register); > +CLOCKSOURCE_OF_DECLARE(ddata, "st,stih407-lpc", st_clksrc_of_register); > For STi : Acked-by: Patrice Chotard Thanks From mboxrd@z Thu Jan 1 00:00:00 1970 From: patrice.chotard@st.com (Patrice Chotard) Date: Mon, 20 Jun 2016 09:43:21 +0200 Subject: [PATCH V2 63/63] clocksources: Switch back to the clksrc table In-Reply-To: <1466112442-31105-64-git-send-email-daniel.lezcano@linaro.org> References: <1466112442-31105-1-git-send-email-daniel.lezcano@linaro.org> <1466112442-31105-64-git-send-email-daniel.lezcano@linaro.org> List-ID: Message-ID: <57679E99.6090607@st.com> To: linux-snps-arc@lists.infradead.org On 06/16/2016 11:27 PM, Daniel Lezcano wrote: > All the clocksource drivers's init function are now converted to return > an error code. CLOCKSOURCE_OF_DECLARE is no longer used as well as the > clksrc-of table. > > Let's convert back the names: > - CLOCKSOURCE_OF_DECLARE_RET => CLOCKSOURCE_OF_DECLARE > - clksrc-of-ret => clksrc-of > > > drivers/clocksource/clksrc_st_lpc.c | 2 +- > diff --git a/drivers/clocksource/clksrc_st_lpc.c b/drivers/clocksource/clksrc_st_lpc.c > index c9022a9..03cc492 100644 > --- a/drivers/clocksource/clksrc_st_lpc.c > +++ b/drivers/clocksource/clksrc_st_lpc.c > @@ -132,4 +132,4 @@ static int __init st_clksrc_of_register(struct device_node *np) > > return ret; > } > -CLOCKSOURCE_OF_DECLARE_RET(ddata, "st,stih407-lpc", st_clksrc_of_register); > +CLOCKSOURCE_OF_DECLARE(ddata, "st,stih407-lpc", st_clksrc_of_register); > For STi : Acked-by: Patrice Chotard Thanks From mboxrd@z Thu Jan 1 00:00:00 1970 From: patrice.chotard@st.com (Patrice Chotard) Date: Mon, 20 Jun 2016 09:43:21 +0200 Subject: [PATCH V2 63/63] clocksources: Switch back to the clksrc table In-Reply-To: <1466112442-31105-64-git-send-email-daniel.lezcano@linaro.org> References: <1466112442-31105-1-git-send-email-daniel.lezcano@linaro.org> <1466112442-31105-64-git-send-email-daniel.lezcano@linaro.org> Message-ID: <57679E99.6090607@st.com> To: linus-amlogic@lists.infradead.org List-Id: linus-amlogic.lists.infradead.org On 06/16/2016 11:27 PM, Daniel Lezcano wrote: > All the clocksource drivers's init function are now converted to return > an error code. CLOCKSOURCE_OF_DECLARE is no longer used as well as the > clksrc-of table. > > Let's convert back the names: > - CLOCKSOURCE_OF_DECLARE_RET => CLOCKSOURCE_OF_DECLARE > - clksrc-of-ret => clksrc-of > > > drivers/clocksource/clksrc_st_lpc.c | 2 +- > diff --git a/drivers/clocksource/clksrc_st_lpc.c b/drivers/clocksource/clksrc_st_lpc.c > index c9022a9..03cc492 100644 > --- a/drivers/clocksource/clksrc_st_lpc.c > +++ b/drivers/clocksource/clksrc_st_lpc.c > @@ -132,4 +132,4 @@ static int __init st_clksrc_of_register(struct device_node *np) > > return ret; > } > -CLOCKSOURCE_OF_DECLARE_RET(ddata, "st,stih407-lpc", st_clksrc_of_register); > +CLOCKSOURCE_OF_DECLARE(ddata, "st,stih407-lpc", st_clksrc_of_register); > For STi : Acked-by: Patrice Chotard Thanks