diff options
author | Chun-Jie Chen <chun-jie.chen@mediatek.com> | 2021-07-26 13:57:06 +0300 |
---|---|---|
committer | Stephen Boyd <sboyd@kernel.org> | 2021-07-27 20:53:07 +0300 |
commit | c58cd0e40ffac67961b945793876b973728f9b80 (patch) | |
tree | d0fd77ee562ffcf8febeb85c490f48b458853eb3 /drivers/clk/mediatek/clk-mt8192.c | |
parent | f384c44754b7de2eceb0789a8837a11b0a80cdba (diff) | |
download | linux-c58cd0e40ffac67961b945793876b973728f9b80.tar.xz |
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 <weiyi.lu@mediatek.com>
Signed-off-by: Chun-Jie Chen <chun-jie.chen@mediatek.com>
Link: https://lore.kernel.org/r/20210726105719.15793-9-chun-jie.chen@mediatek.com
Reviewed-by: Ikjoon Jang <ikjn@chromium.org>
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
Diffstat (limited to 'drivers/clk/mediatek/clk-mt8192.c')
0 files changed, 0 insertions, 0 deletions