Jiasheng Jiang c1bcb976d8 gpio: sifive: add missing check for platform_get_irq
Add the missing check for platform_get_irq() and return error code
if it fails.

The returned error code will be dealed with in
builtin_platform_driver(sifive_gpio_driver) and the driver will not
be registered.

Fixes: f52d6d8b43e5 ("gpio: sifive: To get gpio irq offset from device tree data")
Signed-off-by: Jiasheng Jiang <jiasheng@iscas.ac.cn>
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
2023-06-13 16:22:16 +02:00
..
2023-04-25 17:18:18 -07:00
2021-04-14 10:19:22 +01:00
2022-08-04 18:34:05 -07:00
2023-04-25 17:18:18 -07:00
2022-10-26 14:52:02 +02:00
2021-05-05 16:07:41 +02:00
2022-10-26 14:52:01 +02:00
2022-10-08 09:46:29 -07:00
2022-06-21 18:01:11 +03:00
2023-03-06 12:33:02 +02:00
2022-06-06 14:09:16 +03:00
2021-11-08 11:55:21 -08:00
2023-02-22 11:01:17 -08:00
2022-01-14 18:50:52 -05:00
2022-10-08 09:46:29 -07:00
2019-12-09 10:40:18 +01:00
2023-01-30 15:55:31 +01:00
2023-04-25 17:18:18 -07:00
2023-03-06 12:33:02 +02:00
2023-03-06 12:33:02 +02:00
2023-03-06 12:33:02 +02:00
2023-03-06 12:33:02 +02:00
2022-10-24 12:30:26 +03:00
2023-05-02 10:41:31 -07:00