Quoting Jerome Brunet (2020-10-21 09:21:46) > clk_register() is deprecated. Using 'clk' member of struct clk_hw is > discouraged. With this constraint, it is difficult for driver to > register clocks using the clk_hw API and then use the clock with > the consumer API > > This adds a simple helper, clk_hw_get_clk(), to get a struct clk from > a struct clk_hw. Like other clk_get() variant, each call to this helper > must be balanced with a call to clk_put(). To make life easier on the > consumers, a memory managed version is provided as well. > > Cc: Martin Blumenstingl <[email protected]> > Signed-off-by: Jerome Brunet <[email protected]> > ---
Applied to clk-next

