Displaying 1 result from an estimated 1 matches for "e21b7c22e355".
2023 Mar 22
3
[PATCH v3 01/10] kobject: introduce kobject_del_and_put()
...at vivo.com>
---
v3:
-convert to inline helper
v2:
-add kobject_del_and_put() users
include/linux/kobject.h | 13 +++++++++++++
lib/kobject.c | 3 +--
2 files changed, 14 insertions(+), 2 deletions(-)
diff --git a/include/linux/kobject.h b/include/linux/kobject.h
index bdab370a24f4..e21b7c22e355 100644
--- a/include/linux/kobject.h
+++ b/include/linux/kobject.h
@@ -112,6 +112,19 @@ extern struct kobject * __must_check kobject_get_unless_zero(
struct kobject *kobj);
extern void kobject_put(struct kobject *kobj);
+/**
+ * kobject_del_and_put() - Delete kobject.
+ * @kobj: object.
+...