diff options
author | Alexander Aring <alex.aring@gmail.com> | 2014-04-24 19:09:05 +0200 |
---|---|---|
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) | |
download | lwn-4af619ae2ccf47a2b3a108e1926736484721370f.tar.gz lwn-4af619ae2ccf47a2b3a108e1926736484721370f.zip |
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 { 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 |