/* sermouse_disconnect() cleans up after we don't want talk to the mouse anymore.  */
static void sermouse_disconnect(struct serio *serio)
/* sermouse_disconnect() cleans up after we don't want talk to the mouse anymore.  */
static void sermouse_disconnect(struct serio *serio)
{
	struct sermouse *sermouse = serio_get_drvdata(serio);
	serio_close(serio);
	serio_set_drvdata(serio, NULL);
	input_unregister_device(sermouse->dev);
	kfree(sermouse);
}