Skip to content
Commit 5df324b5 authored by Martin Kaiser's avatar Martin Kaiser Committed by Wolfram Sang
Browse files

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: default avatarMartin Kaiser <martin@kaiser.cx>
Reviewed-by: default avatarKrzysztof Kozlowski <krzk@kernel.org>
Signed-off-by: default avatarWolfram Sang <wsa@kernel.org>
parent 40af583d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment