/* i8042_stop() marks serio port as non-existing so i8042_interrupt will not try to send data to the port that is about to go away. The function is called by serio core as part of unregister procedure.  */
static void i8042_stop(struct serio *serio)
/* i8042_stop() marks serio port as non-existing so i8042_interrupt will not try to send data to the port that is about to go away. The function is called by serio core as part of unregister procedure.  */
static void i8042_stop(struct serio *serio)
{
	struct i8042_port *port = serio->port_data;
	port->exists = false;
	synchronize_irq(I8042_AUX_IRQ);
	synchronize_irq(I8042_KBD_IRQ);
	port->serio = NULL;
}