[PATCH 2/6] clk: mediatek: Use mtk_clk_register_gates_with_dev in simple probe

Chen-Yu Tsai wenst at chromium.org
Thu May 19 21:52:25 PDT 2022


On Fri, May 20, 2022 at 12:49 PM Chen-Yu Tsai <wenst at chromium.org> wrote:
>
> On Thu, May 19, 2022 at 9:49 PM Yassine Oudjana
> <yassine.oudjana at gmail.com> wrote:
> >
> > From: Yassine Oudjana <y.oudjana at protonmail.com>
> >
> > Register gates with dev in mtk_clk_simple_probe.
> >
> > Signed-off-by: Yassine Oudjana <y.oudjana at protonmail.com>
>
> Reviewed-by: Chen-Yu Tsai <wenst at chromium.org>

Side note: one day I would like to rename all the common functions so
that the follow the style of the CCF. One example would be

  - mtk_XXX_register() takes |struct device *|
  - of_mtk_XXX_register() takes |struct device_node *|

I don't know if I'll ever get to it.



More information about the linux-arm-kernel mailing list