mfd: syscon: syscon_node_to_regmap() and device_node refcounting
From: Alexey Khoroshilov
Date: Sat Oct 13 2018 - 17:02:50 EST
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