i2c: Fix return value of bcm_kona_i2c_probe()
A message that is not in the archive (sent off-list or not yet received): [email protected]
Florian Fainelli
Acked-byQuoted 4 lines · zhaoxiao
When call function
devm_platform_ioremap_resource(), we should useIS_ERR()to check the return value and returnPTR_ERR()if failed.Signed-off-by zhaoxiao <[email protected]>
Acked-by Florian Fainelli <[email protected]>
Signature · 1 line
Florian