[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <ZBNzIw6ti3kNbi7s@shikoro>
Date: Thu, 16 Mar 2023 20:50:59 +0100
From: Wolfram Sang <wsa@...nel.org>
To: Dongliang Mu <dzm91@...t.edu.cn>
Cc: Sekhar Nori <nsekhar@...com>, Bartosz Golaszewski <brgl@...ev.pl>,
linux-arm-kernel@...ts.infradead.org, linux-i2c@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] drivers: i2c: remove dead code in davinci_i2c_probe
On Mon, Mar 06, 2023 at 10:45:23AM +0800, Dongliang Mu wrote:
> From the comment of platform_get_irq, it only returns non-zero IRQ
> number and negative error number, other than zero.
>
> Fix this by removing the if condition.
>
> Signed-off-by: Dongliang Mu <dzm91@...t.edu.cn>
Applied to for-next, thanks!
Download attachment "signature.asc" of type "application/pgp-signature" (834 bytes)
Powered by blists - more mailing lists