LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
* [PATCH 0/2] add kobject/of_node read() function
@ 2018-04-10  6:53 Kuninori Morimoto
  2018-04-10  6:53 ` [PATCH 1/2] kobject: add kobject_read() Kuninori Morimoto
  2018-04-10  6:54 ` [PATCH 2/2] of: add of_node_read() Kuninori Morimoto
  0 siblings, 2 replies; 5+ messages in thread
From: Kuninori Morimoto @ 2018-04-10  6:53 UTC (permalink / raw)
  To: Greg Kroah-Hartman, Rob Herring, Frank Rowand; +Cc: linux-kernel, devicetree


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

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2018-04-10  7:11 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-04-10  6:53 [PATCH 0/2] add kobject/of_node read() function Kuninori Morimoto
2018-04-10  6:53 ` [PATCH 1/2] kobject: add kobject_read() Kuninori Morimoto
2018-04-10  7:10   ` Greg Kroah-Hartman
2018-04-10  6:54 ` [PATCH 2/2] of: add of_node_read() Kuninori Morimoto
2018-04-10  7:11   ` Greg Kroah-Hartman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).