Thread (1 message) 1 message, 1 author, 2012-06-14

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

DORMANTno replies REVIEWED: 1 (1M)

From: jacmet@sunsite.dk (Peter Korsgaard)
Date: 2012-06-14 07:31:49
Also in: linux-i2c, linuxppc-dev

1 review trailer.

quoted
quoted
quoted
quoted
"Wolfram" == Wolfram Sang [off-list ref] writes:
 Wolfram> Currently, every driver has to do it on its own, but it should
 Wolfram> be done in the core, like we already do with board_info
 Wolfram> structs.

 Wolfram> Signed-off-by: Wolfram Sang [off-list ref]
 Wolfram> ---

 Wolfram> Based on v3.5-rc2. Only build tested, I don't have a OF based device
 Wolfram> around at the moment.

Neither have I, but it looks good.

Acked-by: Peter Korsgaard <jacmet@sunsite.dk>

 Wolfram> @Peter: Why does ocores do the device registration manually via
 Wolfram> platform_data instead of using board_info?

Because of dd14be4c274 (i2c-ocores: Can add I2C devices to the bus), a
patch I wasn't CC'ed on and haven't acked. I only noticed it later when
the I2C tree got merged into mainline.

-- 
Bye, Peter Korsgaard
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help