Re: [PATCH] ptp: Remove usage of the deprecated ida_simple_xxx API

From: Richard Cochran
Date: Tue Sep 27 2022 - 11:05:44 EST


On Tue, Sep 27, 2022 at 08:01:28AM -0700, Richard Cochran wrote:
> On Sun, Sep 25, 2022 at 09:27:44PM -0400, Bo Liu wrote:
> > Use ida_alloc_xxx()/ida_free() instead of
> > ida_simple_get()/ida_simple_remove().
> > The latter is deprecated and more verbose.
>
> I can't say that I am excited about this. It seems like a way to
> create a regression. I don't see any need to change. After all,
> there are many "deprecated" interfaces in use.

/git/linux$ git grep ida_simple_get | wc -l
119

~/git/linux$ git grep ida_simple_remove | wc -l
169

Please go take care of the other 100+ users of this API first, then
come bother me again.

Thanks,
Richard