at86rf230: rework irq_pol setting
authorAlexander Aring <alex.aring@gmail.com>
Wed, 2 Jul 2014 22:20:50 +0000 (00:20 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 8 Jul 2014 04:29:25 +0000 (21:29 -0700)
commit1db0558e87ddf0e4892963602b35ac079b507dd9
treee3399ddc2d07bd41bb32a1555def0a0a17920669
parent6bd2b132bfbaea46abbcc65f1be57709b2fb601a
at86rf230: rework irq_pol setting

This patch rework the irq_pol register setting for rising and falling
interrupt settings only. The default behaviour should be rising flag.

Also use IRQ_TYPE_* defines instead of IRQF_* defines. There is no
functionality change but irq_get_trigger_type returns IRQ_TYPE_* defines.

Signed-off-by: Alexander Aring <alex.aring@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ieee802154/at86rf230.c