struct device * old_parent = dev->power.pm_parent; device_pm_release(old_parent); dev->power.pm_parent = parent; device_pm_hold(parent); 
put_device(dev->power.pm_parent); dev->power.pm_parent = get_device(parent); 
void device_pm_set_parent(struct device * dev, struct device * parent){	struct device * old_parent = dev->power.pm_parent;	device_pm_release(old_parent);	dev->power.pm_parent = parent;	device_pm_hold(parent);}
4520	/local/tlutelli/issta_data/temp/c/2005_temp/2005/4520/e9b7bd4ee7f6e3ee002dc72c5211cd97c7186d00/main.c/buggy/drivers/base/power/main.c