dynamic.c (9938b04472d5c59f8bd8152a548533a8599596a2) dynamic.c (bb91f923d176578257aed682047653cc33148413)
1/*
2 * Support for dynamic device trees.
3 *
4 * On some platforms, the device tree can be manipulated at runtime.
5 * The routines in this section support adding, removing and changing
6 * device tree nodes.
7 */
8

--- 297 unchanged lines hidden (view full) ---

306
307 __of_detach_node_sysfs(np);
308 mutex_unlock(&of_mutex);
309
310 of_reconfig_notify(OF_RECONFIG_DETACH_NODE, &rd);
311
312 return rc;
313}
1/*
2 * Support for dynamic device trees.
3 *
4 * On some platforms, the device tree can be manipulated at runtime.
5 * The routines in this section support adding, removing and changing
6 * device tree nodes.
7 */
8

--- 297 unchanged lines hidden (view full) ---

306
307 __of_detach_node_sysfs(np);
308 mutex_unlock(&of_mutex);
309
310 of_reconfig_notify(OF_RECONFIG_DETACH_NODE, &rd);
311
312 return rc;
313}
314EXPORT_SYMBOL_GPL(of_detach_node);
314
315/**
316 * of_node_release() - release a dynamically allocated node
317 * @kref: kref element of the node to be released
318 *
319 * In of_node_put() this function is passed to kref_put() as the destructor.
320 */
321void of_node_release(struct kobject *kobj)

--- 487 unchanged lines hidden ---
315
316/**
317 * of_node_release() - release a dynamically allocated node
318 * @kref: kref element of the node to be released
319 *
320 * In of_node_put() this function is passed to kref_put() as the destructor.
321 */
322void of_node_release(struct kobject *kobj)

--- 487 unchanged lines hidden ---