input_unregister_device(&port->adi[i].dev); 
input_unregister_device(port->adi[i].dev); 
static void adi_disconnect(struct gameport *gameport){	int i;	struct adi_port *port = gameport_get_drvdata(gameport);	for (i = 0; i < 2; i++)		if (port->adi[i].length > 0)			input_unregister_device(&port->adi[i].dev);	gameport_close(gameport);	gameport_set_drvdata(gameport, NULL);	kfree(port);}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/17dd3f0f7aa729a042af5d3318ff9b3e7781b45b/adi.c/clean/drivers/input/joystick/adi.c