summaryrefslogtreecommitdiff
path: root/drivers/i2c/busses/i2c-stm32.c
diff options
context:
space:
mode:
authorzhaoxiao <long870912@gmail.com>2021-09-06 13:27:30 +0800
committerWolfram Sang <wsa@kernel.org>2021-09-29 23:05:05 +0200
commited2f85115a8e3423b68d8ac39aa7751c0779ce30 (patch)
tree029cf9646b6339f591786fc97a7fa3788fc0a5e4 /drivers/i2c/busses/i2c-stm32.c
parente7f4264821a4ee07775f3775f8530cfa9a6d4b5d (diff)
i2c: bcm-kona: Fix return value in probe()
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 <long870912@gmail.com> Acked-by: Florian Fainelli <f.fainelli@gmail.com> Signed-off-by: Wolfram Sang <wsa@kernel.org>
Diffstat (limited to 'drivers/i2c/busses/i2c-stm32.c')
0 files changed, 0 insertions, 0 deletions