[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <87bmerv9ll.wl%kuninori.morimoto.gx@renesas.com>
Date: Tue, 10 Apr 2018 06:53:10 +0000
From: Kuninori Morimoto <kuninori.morimoto.gx@...esas.com>
To: Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
Rob Herring <robh+dt@...nel.org>,
Frank Rowand <frowand.list@...il.com>
Cc: linux-kernel@...r.kernel.org, devicetree@...r.kernel.org
Subject: [PATCH 0/2] add kobject/of_node read() function
Hi Greg, Rob, Frank
We are using {kobject_/of_node_}get/put() for increment/decrement
counter. But, because we don't have counter read() function,
confirming it (mainly for debug purpose) is a little bit difficult.
These patches add read() function for it.
Kuninori Morimoto (2):
kobject: add kobject_read()
of: add of_node_read()
drivers/of/dynamic.c | 14 ++++++++++++++
include/linux/kobject.h | 1 +
include/linux/of.h | 5 +++++
lib/kobject.c | 18 ++++++++++++++++++
4 files changed, 38 insertions(+)
--
1.9.1
Powered by blists - more mailing lists