/* Increment the usage count of the device and resume it or submit a resume request for it, depending on the value of @sync.  */
int __pm_runtime_get(struct device *dev, bool sync)
/* Increment the usage count of the device and resume it or submit a resume request for it, depending on the value of @sync.  */
int __pm_runtime_get(struct device *dev, bool sync)
{
	int retval;
	atomic_inc(&dev->power.usage_count);
	retval = sync ? pm_runtime_resume(dev) : pm_request_resume(dev);
	return retval;
}