]> Git Repo - linux.git/commit
clk: mediatek: Add mtk_clk_simple_probe() to simplify clock providers
authorChun-Jie Chen <[email protected]>
Mon, 26 Jul 2021 10:57:06 +0000 (18:57 +0800)
committerStephen Boyd <[email protected]>
Tue, 27 Jul 2021 17:53:07 +0000 (10:53 -0700)
commitc58cd0e40ffac67961b945793876b973728f9b80
treed0fd77ee562ffcf8febeb85c490f48b458853eb3
parentf384c44754b7de2eceb0789a8837a11b0a80cdba
clk: mediatek: Add mtk_clk_simple_probe() to simplify clock providers

Most of subsystem clock providers only need to register clock gates
in their probe() function.
To reduce the duplicated code by add a generic function.

Signed-off-by: Weiyi Lu <[email protected]>
Signed-off-by: Chun-Jie Chen <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Reviewed-by: Ikjoon Jang <[email protected]>
Signed-off-by: Stephen Boyd <[email protected]>
drivers/clk/mediatek/clk-mtk.c
drivers/clk/mediatek/clk-mtk.h
This page took 0.061249 seconds and 4 git commands to generate.