[PATCH] drivers: i2c: remove dead code in davinci_i2c_probe
Wolfram Sang
wsa at kernel.org
Thu Mar 16 12:50:59 PDT 2023
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 at hust.edu.cn>
Applied to for-next, thanks!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20230316/ebe42b08/attachment.sig>
More information about the linux-arm-kernel
mailing list