input_unregister_device(sw->dev + i);
input_unregister_device(sw->dev[i]);
static void sw_disconnect(struct gameport *gameport){	struct sw *sw = gameport_get_drvdata(gameport);	int i;	for (i = 0; i < sw->number; i++)		input_unregister_device(sw->dev + i);	gameport_close(gameport);	gameport_set_drvdata(gameport, NULL);	kfree(sw);}