/* pm_runtime_remove - Prepare for removing a device from device hierarchy. @dev: Device object being removed from device hierarchy.  */
void pm_runtime_remove(struct device *dev)
/* pm_runtime_remove - Prepare for removing a device from device hierarchy. @dev: Device object being removed from device hierarchy.  */
void pm_runtime_remove(struct device *dev)
{
	__pm_runtime_disable(dev, false);
	if (dev->power.runtime_status == RPM_ACTIVE)
		pm_runtime_set_suspended(dev);
}