[<prev] [next>] [day] [month] [year] [list]
Message-Id: <1539464559-22268-1-git-send-email-khoroshilov@ispras.ru>
Date: Sun, 14 Oct 2018 00:02:39 +0300
From: Alexey Khoroshilov <khoroshilov@...ras.ru>
To: Lee Jones <lee.jones@...aro.org>, Arnd Bergmann <arnd@...db.de>
Cc: Alexey Khoroshilov <khoroshilov@...ras.ru>,
linux-kernel@...r.kernel.org, ldv-project@...uxtesting.org
Subject: mfd: syscon: syscon_node_to_regmap() and device_node refcounting
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
Powered by blists - more mailing lists