summaryrefslogtreecommitdiff
path: root/drivers/acpi/sbs.c
diff options
context:
space:
mode:
authorSergei Shtylyov <sergei.shtylyov@cogentembedded.com>2013-12-14 03:09:31 +0300
committerSimon Horman <horms+renesas@verge.net.au>2013-12-23 09:27:17 +0900
commitce70af18801fd8dac6e9f85308294948916e84d6 (patch)
tree8e2ddd6fd6cebb04cd93bff3030245be75c1a313 /drivers/acpi/sbs.c
parent6a7e3b3007b5396a9e812ca0ceddc7915f8768dd (diff)
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 <sergei.shtylyov@cogentembedded.com> Acked-by: Magnus Damm <damm@opensource.se> Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
Diffstat (limited to 'drivers/acpi/sbs.c')
0 files changed, 0 insertions, 0 deletions