[PATCH -next 2/2] media: verisilicon: Do not check for 0 return after calling platform_get_irq()

Andi Shyti andi.shyti at kernel.org
Sat Aug 5 14:42:30 PDT 2023


Hi Ruan,

On Thu, Aug 03, 2023 at 10:46:45AM +0800, Ruan Jinjie wrote:
> It is not possible for platform_get_irq() or platform_get_irq_byname()
> to return 0. Use the return value from platform_get_irq()
> or platform_get_irq_byname().
> 
> Signed-off-by: Ruan Jinjie <ruanjinjie at huawei.com>

Reviewed-by: Andi Shyti <andi.shyti at kernel.org> 

Andi



More information about the Linux-rockchip mailing list