lkml.org 
[lkml]   [2018]   [Oct]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subjectmfd: syscon: syscon_node_to_regmap() and device_node refcounting
Date
Hello,

Could you please clarify why it is safe to store device_node pointer
in of_syscon_register()? Who is responsible to make sure that
it is not disappear?

static struct syscon *of_syscon_register(struct device_node *np)
{
...
syscon->np = np;
}


--
Thank you,
Alexey Khoroshilov
Linux Verification Center, ISPRAS
web: http://linuxtesting.org

\
 
 \ /
  Last update: 2018-10-13 23:03    [W:0.045 / U:0.228 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site