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)
commit73ef657275c01928c30c8cec5878834d44af9685
treee7ff0b370ce2d5648071acc6e0126e212a16d18b
parente42617b825f8073569da76dc4510bfa019b1c35a
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