diff options
| author | Alexander Aring <alex.aring@gmail.com> | 2014-04-24 13:09:05 -0400 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2014-04-26 12:20:32 -0400 |
| commit | 4af619ae2ccf47a2b3a108e1926736484721370f (patch) | |
| tree | 29357e1ff7270f4a66dcfc0911832cdb1da92128 /include/linux/spi | |
| parent | 7f51531c11be9f6ebace405aec724ffac043a8f5 (diff) | |
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>
Diffstat (limited to 'include/linux/spi')
| -rw-r--r-- | include/linux/spi/at86rf230.h | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/include/linux/spi/at86rf230.h b/include/linux/spi/at86rf230.h index aa327a8105ad..b2b1afbb3202 100644 --- a/include/linux/spi/at86rf230.h +++ b/include/linux/spi/at86rf230.h | |||
| @@ -26,20 +26,6 @@ struct at86rf230_platform_data { | |||
| 26 | int rstn; | 26 | int rstn; |
| 27 | int slp_tr; | 27 | int slp_tr; |
| 28 | int dig2; | 28 | int dig2; |
| 29 | |||
| 30 | /* Setting the irq_type will configure the driver to request | ||
| 31 | * the platform irq trigger type according to the given value | ||
| 32 | * and configure the interrupt polarity of the device to the | ||
| 33 | * corresponding polarity. | ||
| 34 | * | ||
| 35 | * Allowed values are: IRQF_TRIGGER_RISING, IRQF_TRIGGER_FALLING, | ||
| 36 | * IRQF_TRIGGER_HIGH and IRQF_TRIGGER_LOW | ||
| 37 | * | ||
| 38 | * Setting it to 0, the driver does not touch the trigger type | ||
| 39 | * configuration of the interrupt and sets the interrupt polarity | ||
| 40 | * of the device to high active (the default value). | ||
| 41 | */ | ||
| 42 | int irq_type; | ||
| 43 | }; | 29 | }; |
| 44 | 30 | ||
| 45 | #endif | 31 | #endif |
