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

Tony Lindgren tony at atomide.com
Fri Mar 5 07:49:54 GMT 2021


* Grygorii Strashko <grygorii.strashko at ti.com> [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



More information about the linux-arm-kernel mailing list