i3c: master: svc: Do not check for 0 return after calling platform_get_irq()
authorRuan Jinjie <ruanjinjie@huawei.com>
Thu, 3 Aug 2023 08:51:49 +0000 (16:51 +0800)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Thu, 10 Aug 2023 08:12:48 +0000 (10:12 +0200)
commit300098637900f7ff99cafed2be7221407b82df83
tree92fc03fb8670851314a835124b79889def17344c
parentcbf871e6d8ce23dd4d458d8b7ab9d4a267e7bc03
i3c: master: svc: Do not check for 0 return after calling platform_get_irq()

It is not possible for platform_get_irq() to return 0. Use the
return value from platform_get_irq().

Signed-off-by: Ruan Jinjie <ruanjinjie@huawei.com>
Reviewed-by: Miquel Raynal <miquel.raynal@bootlin.com>
Link: https://lore.kernel.org/r/20230803085149.149248-1-ruanjinjie@huawei.com
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
drivers/i3c/master/svc-i3c-master.c