if (dev->driver && dev->driver->resume) { ret = dev->driver->resume(dev, RESUME_POWER_ON); if (ret == 0) ret = dev->driver->resume(dev, RESUME_RESTORE_STATE); if (ret == 0) ret = dev->driver->resume(dev, RESUME_ENABLE); } 
if (dev->driver && dev->driver->resume) ret = dev->driver->resume(dev);  
static int platform_resume(struct device * dev){	int ret = 0;	if (dev->driver && dev->driver->resume) {		ret = dev->driver->resume(dev, RESUME_POWER_ON);		if (ret == 0)			ret = dev->driver->resume(dev, RESUME_RESTORE_STATE);		if (ret == 0)			ret = dev->driver->resume(dev, RESUME_ENABLE);	}	return ret;}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/9480e307cd88ef09ec9294c7d97ebec18e6d2221/platform.c/buggy/drivers/base/platform.c