Thread (11 messages) 11 messages, 9 authors, 2012-06-21
STALE5214d REVIEWED: 1 (0M)

1 review trailer.

Re: [PATCH] i2c: let the core register devices from devicetree

From: viresh kumar <hidden>
Date: 2012-06-14 07:53:49
Also in: linux-arm-kernel, linux-i2c

On Wed, Jun 13, 2012 at 10:12 PM, Wolfram Sang [off-list ref] wrot=
e:
Currently, every driver has to do it on its own, but it should be done
in the core, like we already do with board_info structs.

Signed-off-by: Wolfram Sang <redacted>
---
quoted hunk ↗ jump to hunk
diff --git a/drivers/i2c/busses/i2c-designware-platdrv.c b/drivers/i2c/bu=
sses/i2c-designware-platdrv.c
quoted hunk ↗ jump to hunk
index 0506fef..cf3b23c 100644
--- a/drivers/i2c/busses/i2c-designware-platdrv.c
+++ b/drivers/i2c/busses/i2c-designware-platdrv.c
@@ -147,7 +147,6 @@ static int __devinit dw_i2c_probe(struct platform_dev=
ice *pdev)
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0dev_err(&pdev->dev, "failure adding adapte=
r\n");
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0goto err_free_irq;
=A0 =A0 =A0 =A0}
- =A0 =A0 =A0 of_i2c_register_devices(adap);

=A0 =A0 =A0 =A0return 0;
For SPEAr,

Reviewed-by: Viresh Kumar <redacted>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help