]> git.baikalelectronics.ru Git - kernel.git/commit
clk: composite: add _register_composite_pdata() variants
authorMichael Walle <michael@walle.cc>
Thu, 2 Jan 2020 23:10:59 +0000 (00:10 +0100)
committerStephen Boyd <sboyd@kernel.org>
Tue, 28 Jan 2020 21:26:48 +0000 (13:26 -0800)
commit252b91fa6066477f2d688ec2efd2544ba54b5711
treee7ff0b370ce2d5648071acc6e0126e212a16d18b
parent7855fcc07be326322b44982a21760fd9bd8e2b92
clk: composite: add _register_composite_pdata() variants

Add support for the new way of specifying the clock parents. Add the
two new functions
    clk_hw_register_composite_pdata()
    clk_register_composite_pdata()
to let the driver provide parent_data instead of the parent_names.

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