Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit de23544f authored by qctecmdr Service's avatar qctecmdr Service Committed by Gerrit - the friendly Code Review server
Browse files

Merge "of: move kobj_to_device_node() into dynamic.c"

parents 455e1470 8c3c0502
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -16,6 +16,11 @@

#include "of_private.h"

static struct device_node *kobj_to_device_node(struct kobject *kobj)
{
	return container_of(kobj, struct device_node, kobj);
}

/**
 * of_node_get() - Increment refcount of a node
 * @node:	Node to inc refcount, NULL is supported to simplify writing of
+0 −6
Original line number Diff line number Diff line
@@ -35,12 +35,6 @@ extern struct mutex of_mutex;
extern struct list_head aliases_lookup;
extern struct kset *of_kset;


static inline struct device_node *kobj_to_device_node(struct kobject *kobj)
{
	return container_of(kobj, struct device_node, kobj);
}

#if defined(CONFIG_OF_DYNAMIC)
extern int of_property_notify(int action, struct device_node *np,
			      struct property *prop, struct property *old_prop);
+1 −0
Original line number Diff line number Diff line
@@ -1369,6 +1369,7 @@ static struct platform_driver spmi_pmic_arb_driver = {
	.driver		= {
		.name	= "spmi_pmic_arb",
		.of_match_table = spmi_pmic_arb_match_table,
		.probe_type = PROBE_PREFER_ASYNCHRONOUS,
	},
};