diff options
author | Ruan Jinjie <ruanjinjie@huawei.com> | 2023-08-03 11:39:37 +0800 |
---|---|---|
committer | Bartosz Golaszewski <bartosz.golaszewski@linaro.org> | 2023-08-03 15:54:11 +0200 |
commit | 455d39ec96f0d8020adf465ab1f864a722d96eb3 (patch) | |
tree | c54486778781cb0b32d5c677d21814a8353e3abc /drivers/nvme/Makefile | |
parent | 146bf98e00886420199d8892d3684c9736789b0c (diff) | |
download | linux-stable-455d39ec96f0d8020adf465ab1f864a722d96eb3.tar.gz linux-stable-455d39ec96f0d8020adf465ab1f864a722d96eb3.tar.bz2 linux-stable-455d39ec96f0d8020adf465ab1f864a722d96eb3.zip |
gpio: ftgpio010: Do not check for 0 return after calling platform_get_irq()
Since commit a85a6c86c25b ("driver core: platform: Clarify that IRQ 0
is invalid"), there is no possible for platform_get_irq() to return 0.
And the return value of platform_get_irq() is more sensible
to show the error reason.
Signed-off-by: Ruan Jinjie <ruanjinjie@huawei.com>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Diffstat (limited to 'drivers/nvme/Makefile')
0 files changed, 0 insertions, 0 deletions