i2c: remove redundant error print in stm32f7_i2c_probe
authorMenglong Dong <dong.menglong@zte.com.cn>
Tue, 12 Jan 2021 08:53:11 +0000 (00:53 -0800)
committerWolfram Sang <wsa@kernel.org>
Fri, 12 Feb 2021 10:37:37 +0000 (11:37 +0100)
commit0b16cfd9e660f59e396ab5f3af7d49e3677e3f9c
treebbc1f3af568f68cb2eb1a50d187e23ae4bd558d1
parentb39ab96aa894e3f4a9a1cdfc070bd8ebefaeb9d8
i2c: remove redundant error print in stm32f7_i2c_probe

Coccinelle reports a redundant error print in stm32f7_i2c_probe.
As 'platform_get_irq' already prints the error message, error
print here is redundant and can be removed.

Signed-off-by: Menglong Dong <dong.menglong@zte.com.cn>
Signed-off-by: Wolfram Sang <wsa@kernel.org>
drivers/i2c/busses/i2c-stm32f7.c