Re: [PATCH 2/3] clocksource/drivers/timer-ti-dm: Remove extra of_node_put()

From: Tony Lindgren
Date: Fri Mar 05 2021 - 02:50:04 EST


* Grygorii Strashko <grygorii.strashko@xxxxxx> [210304 20:56]:
>
>
> On 04/03/2021 09:21, Tony Lindgren wrote:
> > We have of_translate_address() already do of_node_put() as needed.
> > I probably looked at __of_translate_address() earlier by accident
> > that of_translate_address() uses.
>
> I do not see of_node_put() in of_translate_address() and
> __of_translate_address() is doing of_node_get(dev);
> ?

Oh right.. this is confusing.. Yeah we can ignore this patch.
We should have the use count set for only the system timer(s)
we claim.

Regards,

Tony