i2c: stm32f7: Remove useless error message
authorTian Tao <tiantao6@hisilicon.com>
Thu, 25 Mar 2021 12:04:32 +0000 (20:04 +0800)
committerWolfram Sang <wsa@kernel.org>
Wed, 31 Mar 2021 07:58:19 +0000 (09:58 +0200)
commit8f66edb25c4e10f8380c88f4c097158ff611fd10
tree5985e009478387932800edbd0e213de0eedd2a51
parent1a0e240d09413ac6c90ce6247afdfc424c84103f
i2c: stm32f7: Remove useless error message

Fix the following coccicheck report:

drivers/i2c/busses/i2c-stm32f7.c:2032:3-10 : platform_get_irq :
line 2032 is redundant because platform_get_irq() already prints an error

Remove dev_err() messages after platform_get_irq() failures.

Signed-off-by: Tian Tao <tiantao6@hisilicon.com>
Signed-off-by: Zihao Tang <tangzihao1@hisilicon.com>
Reviewed-by: Alain Volmat <alain.volmat@foss.st.com>
Signed-off-by: Wolfram Sang <wsa@kernel.org>
drivers/i2c/busses/i2c-stm32f7.c