Peng Fan cfdca14c44 gpio: bcm-kona: use platform_irq_count
platform_irq_count() is the more generic way (independent of
device trees) to determine the count of available interrupts. So
use this instead.

As platform_irq_count() might return an error code (which
of_irq_count doesn't) some additional handling is necessary.

Signed-off-by: Peng Fan <peng.fan@nxp.com>
Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
2019-12-11 11:06:31 +01:00
..
2019-11-07 09:27:48 +01:00
2019-11-07 09:27:48 +01:00
2018-05-16 14:35:24 +02:00
2019-11-07 09:27:48 +01:00
2019-09-03 16:04:19 +02:00
2019-11-07 09:27:48 +01:00
2019-11-07 09:27:48 +01:00
2019-07-23 18:59:05 +03:00
2019-11-07 09:27:48 +01:00
2019-11-07 09:27:48 +01:00
2019-11-07 09:27:48 +01:00
2019-11-07 09:27:48 +01:00
2019-11-07 09:27:48 +01:00
2019-11-07 09:27:48 +01:00
2019-11-07 09:27:48 +01:00
2018-01-09 14:51:00 +01:00
2019-11-07 09:27:48 +01:00
2019-11-07 09:27:48 +01:00
2019-10-29 16:17:23 +01:00
2019-11-22 14:46:52 +01:00