[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20201102083713.GA6986@kozik-lap>
Date: Mon, 2 Nov 2020 09:37:13 +0100
From: Krzysztof Kozlowski <krzk@...nel.org>
To: Martin Kaiser <martin@...ser.cx>
Cc: Wolfram Sang <wsa@...nel.org>, Andrzej Hajda <a.hajda@...sung.com>,
linux-i2c@...r.kernel.org, linux-samsung-soc@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH v2 3/3] i2c: exynos5: don't check for irq 0
On Sun, Nov 01, 2020 at 06:18:07PM +0100, Martin Kaiser wrote:
> platform_get_irq never returns 0. Don't check for this. Make it clear that
> the error path always returns a negative error code.
>
> Signed-off-by: Martin Kaiser <martin@...ser.cx>
> ---
> changes in v2
> - split the patch in three parts
>
> drivers/i2c/busses/i2c-exynos5.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
Reviewed-by: Krzysztof Kozlowski <krzk@...nel.org>
Best regards,
Krzysztof
Powered by blists - more mailing lists