diff options
author | Sergei Shtylyov <[email protected]> | 2013-12-14 03:09:31 +0300 |
---|---|---|
committer | Simon Horman <[email protected]> | 2013-12-23 09:27:17 +0900 |
commit | ce70af18801fd8dac6e9f85308294948916e84d6 (patch) | |
tree | 8e2ddd6fd6cebb04cd93bff3030245be75c1a313 /lib/kobject.c | |
parent | 6a7e3b3007b5396a9e812ca0ceddc7915f8768dd (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 <[email protected]>
Acked-by: Magnus Damm <[email protected]>
Signed-off-by: Simon Horman <[email protected]>
Diffstat (limited to 'lib/kobject.c')
0 files changed, 0 insertions, 0 deletions