for (i = 0; i < 3; i++) if (tgfx_base[i]) { for (j = 0; j < 7; j++) if (tgfx_base[i]->sticks & (1 << j)) input_unregister_device(tgfx_base[i]->dev + j); parport_unregister_device(tgfx_base[i]->pd); } 
for (i = 0; i < TGFX_MAX_PORTS; i++) if (tgfx_base[i]) tgfx_remove(tgfx_base[i]); 
static void __exit tgfx_exit(void){	int i, j;	for (i = 0; i < 3; i++)		if (tgfx_base[i]) {			for (j = 0; j < 7; j++)				if (tgfx_base[i]->sticks & (1 << j))					input_unregister_device(tgfx_base[i]->dev + j);		parport_unregister_device(tgfx_base[i]->pd);	}}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/17dd3f0f7aa729a042af5d3318ff9b3e7781b45b/turbografx.c/buggy/drivers/input/joystick/turbografx.c