diff options
author | Russell King <rmk+kernel@armlinux.org.uk> | 2019-06-10 20:11:02 +0300 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2019-06-12 11:15:04 +0200 |
commit | f1c32ef14b4c55eabbc40646dc2a70b3114f8691 (patch) | |
tree | 23d6d6cd6ebef53a677f2d027b037dd32b5c2939 /fs/libfs.c | |
parent | 40fd422a7d599a7a0a7f8d4b373529dd58abaae5 (diff) | |
download | linux-f1c32ef14b4c55eabbc40646dc2a70b3114f8691.tar.bz2 |
gpio: omap: irq_startup() must not return error codes
The irq_startup() method returns an unsigned int, but in __irq_startup()
it is assigned to an int. However, nothing checks for errors, so any
error that is returned is ignored.
Remove the check for GPIO-input mode and the error return.
Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
Signed-off-by: Grygorii Strashko <grygorii.strashko@ti.com>
Tested-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'fs/libfs.c')
0 files changed, 0 insertions, 0 deletions