Re: [PATCH] i2c: Fix return value of bcm_kona_i2c_probe()

From
Florian Fainelli <f.fainelli@gmail.com>
Date
2021-08-22 09:07:34
Also in
lkml

On 8/16/2021 10:37 AM, zhaoxiao wrote:
When call function devm_platform_ioremap_resource(), we should use IS_ERR()
to check the return value and return PTR_ERR() if failed.

Signed-off-by: zhaoxiao <redacted>
Acked-by: Florian Fainelli <f.fainelli@gmail.com>
-- 
Florian
Thread (1 message) 1 message, 1 author, last reply 2021-08-22
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help