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

Florian Fainelli
2021-08-22T09:07:33Z

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 <zhaoxiao@uniontech.com>

Acked-by: Florian Fainelli <f.fainelli@gmail.com>
--
Florian