* [PATCH 0/4] media: don't print error when adding adapter fails
@ 2016-08-09 11:35 Wolfram Sang
2016-08-09 11:35 ` [PATCH 3/4] media: platform: exynos4-is: fimc-is-i2c: " Wolfram Sang
0 siblings, 1 reply; 2+ messages in thread
From: Wolfram Sang @ 2016-08-09 11:35 UTC (permalink / raw)
To: linux-arm-kernel
Since v4.8-rc1, the I2C core will print detailed information when adding an I2C
adapter fails. So, drivers can skip this now.
Should go via subsystem tree, I'd think.
Wolfram Sang (4):
media: pci: netup_unidvb: don't print error when adding adapter fails
media: pci: pt3: don't print error when adding adapter fails
media: platform: exynos4-is: fimc-is-i2c: don't print error when
adding adapter fails
media: usb: dvb-usb-v2: dvb_usb_core: don't print error when adding
adapter fails
drivers/media/pci/netup_unidvb/netup_unidvb_i2c.c | 5 +----
drivers/media/pci/pt3/pt3.c | 4 +---
drivers/media/platform/exynos4-is/fimc-is-i2c.c | 5 +----
drivers/media/usb/dvb-usb-v2/dvb_usb_core.c | 2 --
4 files changed, 3 insertions(+), 13 deletions(-)
--
2.8.1
^ permalink raw reply [flat|nested] 2+ messages in thread
* [PATCH 3/4] media: platform: exynos4-is: fimc-is-i2c: don't print error when adding adapter fails
2016-08-09 11:35 [PATCH 0/4] media: don't print error when adding adapter fails Wolfram Sang
@ 2016-08-09 11:35 ` Wolfram Sang
0 siblings, 0 replies; 2+ messages in thread
From: Wolfram Sang @ 2016-08-09 11:35 UTC (permalink / raw)
To: linux-arm-kernel
The core will do this for us now.
Signed-off-by: Wolfram Sang <wsa-dev@sang-engineering.com>
---
drivers/media/platform/exynos4-is/fimc-is-i2c.c | 5 +----
1 file changed, 1 insertion(+), 4 deletions(-)
diff --git a/drivers/media/platform/exynos4-is/fimc-is-i2c.c b/drivers/media/platform/exynos4-is/fimc-is-i2c.c
index 7521aa59b0649c..fd888ef447a903 100644
--- a/drivers/media/platform/exynos4-is/fimc-is-i2c.c
+++ b/drivers/media/platform/exynos4-is/fimc-is-i2c.c
@@ -56,11 +56,8 @@ static int fimc_is_i2c_probe(struct platform_device *pdev)
i2c_adap->class = I2C_CLASS_SPD;
ret = i2c_add_adapter(i2c_adap);
- if (ret < 0) {
- dev_err(&pdev->dev, "failed to add I2C bus %s\n",
- node->full_name);
+ if (ret < 0)
return ret;
- }
platform_set_drvdata(pdev, isp_i2c);
--
2.8.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2016-08-09 11:35 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-08-09 11:35 [PATCH 0/4] media: don't print error when adding adapter fails Wolfram Sang
2016-08-09 11:35 ` [PATCH 3/4] media: platform: exynos4-is: fimc-is-i2c: " Wolfram Sang
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).