From ce70af18801fd8dac6e9f85308294948916e84d6 Mon Sep 17 00:00:00 2001 From: Sergei Shtylyov Date: Sat, 14 Dec 2013 03:09:31 +0300 Subject: [PATCH] irq-renesas-irqc: simplify irq_set_type() method Value 0 of the sense selection field of CONFIG_n register means "disable event detection" and serves in irqc_sense[] for marking the invalid values of the IRQ type (by just omitting initializers). There is no need for INTC_IRQ_SENSE_VALID and hence INTC_IRQ_SENSE() as all field values matching to the valid IRQ types are non-zero anyway. Signed-off-by: Sergei Shtylyov Acked-by: Magnus Damm Signed-off-by: Simon Horman --- Reading git-format-patch failed