]> git.baikalelectronics.ru Git - uboot.git/commit
clk: ccf: Add some helper functions for clock ops
authorSean Anderson <seanga2@gmail.com>
Sun, 20 Mar 2022 20:34:45 +0000 (16:34 -0400)
committerSean Anderson <seanga2@gmail.com>
Wed, 30 Mar 2022 17:03:29 +0000 (13:03 -0400)
commit8d77673e18e6d2208a175a7351741bb5e352cb99
treeb1705a82741c8cecd63f88a6506b54f0aec7f7db
parent2f302a648ee85004e26d232259e0ea0eb2a9f5e8
clk: ccf: Add some helper functions for clock ops

Most CCF drivers follow a common pattern where their clock ops defer the
actual operation to the backing CCF clock. Add some generic implementations
of these functions to reduce duplication of code.

Signed-off-by: Sean Anderson <seanga2@gmail.com>
Reviewed-by: Peng Fan <peng.fan@nxp.com>
Link: https://lore.kernel.org/r/20220320203446.740178-1-seanga2@gmail.com
drivers/clk/clk.c
include/linux/clk-provider.h