fbdev: omapfb: Fix tests for platform_get_irq() failure

[ Upstream commit acf4c6205e ]

The platform_get_irq() returns negative error codes.  It can't actually
return zero.

Signed-off-by: Yu Zhe <yuzhe@nfschina.com>
Signed-off-by: Helge Deller <deller@gmx.de>
Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
Yu Zhe 2022-08-12 14:52:23 +08:00 • committed by Greg Kroah-Hartman
commit 4b688f85e8