lkml.org 
[lkml]   [2023]   [Aug]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] of/platform: increase refcount of fwnode
On Thu, Aug 17, 2023 at 01:57:39PM +0300, Andy Shevchenko wrote:
> On Sat, Aug 12, 2023 at 08:24:11PM +0800, Peng Fan (OSS) wrote:

...

> > - device_set_node(&dev->dev, of_fwnode_handle(node));
> > + device_set_node(&dev->dev, fwnode_handle_get(fwnode));
>
> Ditto.

Actually no, amba_device_alloc() does not use platform_device_alloc() and
defines it's own .release method. There is no reference count drop there
AFAICS.

--
With Best Regards,
Andy Shevchenko


\
 
 \ /
  Last update: 2023-08-17 13:04    [W:0.060 / U:0.240 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site