|PLATFORM_DEVICE_DEL(9)||Device drivers infrastructure||PLATFORM_DEVICE_DEL(9)|
platform_device_del - remove a platform-level device
void platform_device_del(struct platform_device * pdev);
Note that this function will also release all memory- and port-based resources owned by the device (dev->resource). This function must _only_ be externally called in error cases. All other usage is a bug.
|January 2017||Kernel Hackers Manual 4.8.|