[PATCH] i2c: stm32f7: Remove useless error message

Wolfram Sang wsa at kernel.org
Wed Mar 31 08:58:50 BST 2021


On Thu, Mar 25, 2021 at 08:04:32PM +0800, Tian Tao wrote:
> 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 at hisilicon.com>
> Signed-off-by: Zihao Tang <tangzihao1 at hisilicon.com>

Applied to for-next, thanks!

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20210331/b0cda969/attachment.sig>


More information about the linux-arm-kernel mailing list