Re: [PATCH 2/2] mailbox: mtk-cmdq: Fix local clock ID usage

From: Tzung-Bi Shih
Date: Thu Oct 14 2021 - 07:34:36 EST


On Thu, Oct 14, 2021 at 7:33 PM Fei Shao <fshao@xxxxxxxxxxxx> wrote:
>
> On Thu, Oct 14, 2021 at 6:47 PM Tzung-Bi Shih <tzungbi@xxxxxxxxxx> wrote:
> >
> > On Thu, Oct 14, 2021 at 05:31:11PM +0800, Fei Shao wrote:
> > > +const char *clk_name = "gce";
> > > +const char *clk_names[] = { "gce0", "gce1" };
> > Does letting them static make more sense?
> Yes, I'll send a v2 later. Thanks!
Probably better to keep their scope in probe function but extend the
lifecycle by using static.