lkml.org 
[lkml]   [2018]   [Apr]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH 0/2] add kobject/of_node read() function
Date

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

\
 
 \ /
  Last update: 2018-04-10 08:53    [W:0.108 / U:0.012 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site