summaryrefslogtreecommitdiffstats
path: root/drivers/i2c/busses/i2c-mv64xxx.c
diff options
context:
space:
mode:
authorMartin Kaiser <martin@kaiser.cx>2020-11-01 18:18:07 +0100
committerWolfram Sang <wsa@kernel.org>2020-11-03 22:18:04 +0100
commit5df324b5f4baa3a51990f078fa445800197dfba3 (patch)
treec5ec306dc7cc38feba7c3ab4de45e39e45b62dd7 /drivers/i2c/busses/i2c-mv64xxx.c
parenti2c: exynos5: fix platform_get_irq error handling (diff)
downloadlinux-5df324b5f4baa3a51990f078fa445800197dfba3.tar.xz
linux-5df324b5f4baa3a51990f078fa445800197dfba3.zip
i2c: exynos5: don't check for irq 0
platform_get_irq never returns 0. Don't check for this. Make it clear that the error path always returns a negative error code. Signed-off-by: Martin Kaiser <martin@kaiser.cx> Reviewed-by: Krzysztof Kozlowski <krzk@kernel.org> Signed-off-by: Wolfram Sang <wsa@kernel.org>
Diffstat (limited to 'drivers/i2c/busses/i2c-mv64xxx.c')
0 files changed, 0 insertions, 0 deletions