Robert Jarzmik 3738ca1b2a ARM: pxa: pxa_cplds: honor probe deferral
The method to acquire the input interrupt was working in a platform data
based board, but was failing in a device-tree one when the gpio
controller was probed after pxa_cplds.

Use platform_get_irq() to benefit from the probe deferral
mechanism. Moreover, as seen in dm9000.c development, platform_get_irq()
doesn't honor the irq type IO resource (ie. edge rising for example),
and it must be passed again at irq request in a not device-tree build,
hence the irq_get_trigger_type() call.

Signed-off-by: Robert Jarzmik <robert.jarzmik@free.fr>
2016-10-18 09:12:37 +02:00
..
2016-09-09 18:07:59 +02:00
2016-08-09 08:16:58 +02:00
2016-04-30 10:27:09 +02:00
2016-08-28 23:44:55 -04:00
2015-12-01 21:52:50 +01:00
2015-07-28 13:58:13 +02:00
2016-09-12 12:12:31 +01:00
2016-10-07 21:18:42 -07:00
2016-09-09 18:07:59 +02:00
2016-09-09 18:07:59 +02:00
2016-09-09 18:07:59 +02:00
2015-12-01 21:52:50 +01:00
2016-08-28 23:44:55 -04:00
2015-12-01 21:52:50 +01:00