of_platform_device_destroy
of_platform_device_destroy(&pdev->dev, NULL);
of_platform_device_destroy(&x.of_dev->dev, NULL);
of_platform_device_destroy(&host->slot_pdev[i]->dev, NULL);
of_platform_device_destroy(&host->slot_pdev[i]->dev, NULL);
of_platform_device_destroy(&slot_pdev->dev, NULL);
of_platform_device_destroy(slot_dev, NULL);
of_platform_device_destroy(common->mdio_dev, NULL);
of_platform_device_destroy(common->mdio_dev, NULL);
device_for_each_child(dev, NULL, of_platform_device_destroy);
EXPORT_SYMBOL_GPL(of_platform_device_destroy);
device_for_each_child_reverse(parent, NULL, of_platform_device_destroy);
of_platform_device_destroy(&pdev->dev, &children_left);
of_platform_device_destroy(&serdes_pdev->dev, NULL);
of_platform_device_destroy(&qproc->bam_dmux->dev, NULL);
of_platform_device_destroy(&pdev->dev, NULL);
of_platform_device_destroy(&pdle->pdev->dev, NULL);
extern int of_platform_device_destroy(struct device *dev, void *data);