OSDN Git Service

clk: composite: add devm_clk_hw_register_composite_pdata()
authorMichael Walle <michael@walle.cc>
Thu, 5 Nov 2020 19:27:45 +0000 (20:27 +0100)
committerStephen Boyd <sboyd@kernel.org>
Mon, 7 Dec 2020 22:06:16 +0000 (14:06 -0800)
commit0eba770790426553f45b8643bcd77b854e045057
tree1c6416000c14046272a546eb7ab69ea745991d1b
parente81bed419f032824e7ddf8b5630153be6637e480
clk: composite: add devm_clk_hw_register_composite_pdata()

This will simplify drivers which would only unregister the clk in their
remove() op.

Signed-off-by: Michael Walle <michael@walle.cc>
Link: https://lore.kernel.org/r/20201105192746.19564-3-michael@walle.cc
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
drivers/clk/clk-composite.c
include/linux/clk-provider.h