/* The hinge switches generate an interrupt. We debounce the switches and pass them to the input system.  */
static irqreturn_t spitzkbd_hinge_isr(int irq, void *dev_id)
/* The hinge switches generate an interrupt. We debounce the switches and pass them to the input system.  */
static irqreturn_t spitzkbd_hinge_isr(int irq, void *dev_id)
{
	struct spitzkbd *spitzkbd_data = dev_id;
	if (!timer_pending(&spitzkbd_data->htimer))
		mod_timer(&spitzkbd_data->htimer, jiffies + msecs_to_jiffies(HINGE_SCAN_INTERVAL));
	return IRQ_HANDLED;
}