[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20221123010231.F07CEC433D6@smtp.kernel.org>
Date: Tue, 22 Nov 2022 17:02:29 -0800
From: Stephen Boyd <sboyd@...nel.org>
To: Dario Binacchi <dario.binacchi@...rulasolutions.com>,
linux-kernel@...r.kernel.org
Cc: Amarula patchwork <linux-amarula@...rulasolutions.com>,
michael@...rulasolutions.com,
Dario Binacchi <dario.binacchi@...rulasolutions.com>,
Allison Randal <allison@...utok.net>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
Jakob Koschel <jakobkoschel@...il.com>,
Julia Lawall <Julia.Lawall@...ia.fr>,
Len Baker <len.baker@....com>, Liang He <windhl@....com>,
Miaoqian Lin <linmq006@...il.com>,
Michael Turquette <mturquette@...libre.com>,
Rob Herring <robh@...nel.org>, Tero Kristo <kristo@...nel.org>,
Thomas Gleixner <tglx@...utronix.de>,
Tony Lindgren <tony@...mide.com>, linux-clk@...r.kernel.org,
linux-omap@...r.kernel.org
Subject: Re: [PATCH v4 1/2] clk: ti: change ti_clk_register[_omap_hw]() API
Quoting Dario Binacchi (2022-11-13 10:11:46)
> The ti_clk_register() and ti_clk_register_omap_hw() functions are always
> called with the parameter of type "struct device" set to NULL, since the
> functions from which they are called always have a parameter of type
> "struct device_node". Replacing "struct device" type parameter with
> "struct device_node" will allow you to register a TI clock to the common
> clock framework by taking advantage of the facilities provided by the
> "struct device_node" type. Further, adding the "of_" prefix to the name
> of these functions explicitly binds them to the "struct device_node"
> type.
>
> The patch has been tested on a Beaglebone board.
>
> Signed-off-by: Dario Binacchi <dario.binacchi@...rulasolutions.com>
>
> ---
Applied to clk-next
Powered by blists - more mailing lists