[PATCH -next] spi: Do not check for 0 return after calling platform_get_irq()
Florian Fainelli
florian.fainelli at broadcom.com
Wed Aug 2 09:58:34 PDT 2023
On 8/2/23 02:32, Ruan Jinjie wrote:
> 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 at huawei.com>
Reviewed-by: Florian Fainelli <florian.fainelli at broadcom.com> #
spi-bcm2835*.c
--
Florian
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4221 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://lists.infradead.org/pipermail/linux-rpi-kernel/attachments/20230802/255d74e5/attachment.p7s>
More information about the linux-rpi-kernel
mailing list