[PATCH 0/2] add kobject/of_node read() function

From: Kuninori Morimoto
Date: Tue Apr 10 2018 - 02:53:22 EST



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