i2c-pxa2xx: pass of_node from platform driver to adapter and publish
authorSebastian Andrzej Siewior <bigeasy@linutronix.de>
Wed, 23 Feb 2011 11:38:20 +0000 (12:38 +0100)
committerBen Dooks <ben-linux@fluff.org>
Mon, 21 Mar 2011 09:23:57 +0000 (09:23 +0000)
commitbaa8cab012ff07d6835580b19c2fd93a20627823
tree3a091f70a23ae00a8f50f89bb41a6b9eb596c735
parent93c92cfdec8c3f8764894b37606c174f68fd9338
i2c-pxa2xx: pass of_node from platform driver to adapter and publish

the of_node will auto-publish devices which are added to the device
tree.

Commit 925bb9c6 aka ("of/i2c: Fix module load order issue caused by
of_i2c.c) moved the of_i2c_register_devices() function from the i2c core
back to the drivers. This patch does the same thing for the pxa driver.

Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Signed-off-by: Dirk Brandewie <dirk.brandewie@gmail.com>
Signed-off-by: Ben Dooks <ben-linux@fluff.org>
drivers/i2c/busses/i2c-pxa.c