diff options
author | Russell King <[email protected]> | 2019-06-10 20:11:02 +0300 |
---|---|---|
committer | Linus Walleij <[email protected]> | 2019-06-12 11:15:04 +0200 |
commit | f1c32ef14b4c55eabbc40646dc2a70b3114f8691 (patch) | |
tree | 23d6d6cd6ebef53a677f2d027b037dd32b5c2939 /drivers/usb/cdns3/cdns3-debug.h | |
parent | 40fd422a7d599a7a0a7f8d4b373529dd58abaae5 (diff) |
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 <[email protected]>
Signed-off-by: Grygorii Strashko <[email protected]>
Tested-by: Tony Lindgren <[email protected]>
Signed-off-by: Linus Walleij <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-debug.h')
0 files changed, 0 insertions, 0 deletions