at86rf230: use irq_get_trigger_type

This patch removes the platform data for the irq_type. We use instead
the irq_get_trigger_type function to get these flags which should
already configured by the interrupt controller.

Signed-off-by: Alexander Aring <alex.aring@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
Alexander Aring
2014-04-24 19:09:05 +02:00
committed by David S. Miller
parent 7f51531c11
commit 4af619ae2c
2 changed files with 8 additions and 34 deletions

View File

@@ -26,20 +26,6 @@ struct at86rf230_platform_data {
int rstn;
int slp_tr;
int dig2;
/* Setting the irq_type will configure the driver to request
* the platform irq trigger type according to the given value
* and configure the interrupt polarity of the device to the
* corresponding polarity.
*
* Allowed values are: IRQF_TRIGGER_RISING, IRQF_TRIGGER_FALLING,
* IRQF_TRIGGER_HIGH and IRQF_TRIGGER_LOW
*
* Setting it to 0, the driver does not touch the trigger type
* configuration of the interrupt and sets the interrupt polarity
* of the device to high active (the default value).
*/
int irq_type;
};
#endif