]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
gpio: rcar: Propagate errors from devm_request_irq()
authorLad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
Tue, 4 Jan 2022 15:36:15 +0000 (15:36 +0000)
committerBartosz Golaszewski <brgl@bgdev.pl>
Wed, 5 Jan 2022 08:57:34 +0000 (09:57 +0100)
commitffe31c9ed35d70069ee76d6b6d41ac86a17d7a07
treef0a757107212001ccd402522a866c1525b059c20
parentf1ff272c60eded6ba1aa4c64a313910ce6e85bff
gpio: rcar: Propagate errors from devm_request_irq()

The driver overrides the error code returned by devm_request_irq() to
-ENOENT. Switch to propagating the error code upstream.

Suggested-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Reviewed-by: Sergey Shtylyov <s.shtylyov@omp.ru>
Signed-off-by: Bartosz Golaszewski <brgl@bgdev.pl>
drivers/gpio/gpio-rcar.c