/* Will be called only by the device core when all users of this of device are done.  */
void of_release_dev(struct device *dev)
/* Will be called only by the device core when all users of this of device are done.  */
void of_release_dev(struct device *dev)
{
	struct of_device *ofdev;
	ofdev = to_of_device(dev);
	of_node_put(ofdev->node);
	kfree(ofdev);
}