i2c: Delete error messages for failed memory allocations
authorMarkus Elfring <elfring@users.sourceforge.net>
Fri, 2 Feb 2018 16:24:57 +0000 (17:24 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 3 Aug 2023 08:23:49 +0000 (10:23 +0200)
commit38a8983ae1d0e2df8b9fe83e4c7bcac0f7a8e2da
tree67e6d4c5b1b01951d1a4e44cc1bab43c11736b72
parent7b7291ab29124b3829e141ac1a8b7e65ebb7ed47
i2c: Delete error messages for failed memory allocations

[ Upstream commit 6b3b21a8542fd2fb6ffc61bc13b9419f0c58ebad ]

These issues were detected by using the Coccinelle software.

Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
Signed-off-by: Wolfram Sang <wsa@kernel.org>
Stable-dep-of: 05f933d5f731 ("i2c: nomadik: Remove a useless call in the remove function")
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/i2c/busses/i2c-ibm_iic.c
drivers/i2c/busses/i2c-nomadik.c
drivers/i2c/busses/i2c-sh7760.c
drivers/i2c/busses/i2c-tiny-usb.c