input_unregister_device(&chip->beep->dev); 
input_unregister_device(chip->beep->dev); 
void snd_pmac_detach_beep(pmac_t *chip){	if (chip->beep) {		input_unregister_device(&chip->beep->dev);		dma_free_coherent(&chip->pdev->dev, BEEP_BUFLEN * 4,				  chip->beep->buf, chip->beep->addr);		kfree(chip->beep);		chip->beep = NULL;	}}
4520	/local/tlutelli/issta_data/temp/c/2005_temp/2005/4520/5ebdcbc2fc4f192c5e685565c9c853a9e01a5eeb/beep.c/buggy/sound/ppc/beep.c