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-arch.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