]> 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)
commit544d83a2cd4c1c42794200a39055860b6425ef11
treee7ff0b370ce2d5648071acc6e0126e212a16d18b
parent47599c6298943ede4662b5e31dfe375feac1b48a
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