login
Header Space

 
 

Re: [PATCHv4 2.6.25] i2c: adds support for i2c bus on Freescale CPM1/CPM2 controllers

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Jochen Friedrich <jochen@...>
Cc: Jean Delvare <khali@...>, <linux-kernel@...>, linuxppc-dev list <linuxppc-dev@...>, <i2c@...>, Scott Wood <scottwood@...>
Date: Tuesday, March 25, 2008 - 8:41 pm

Hi Jochen,

Firstly, you should probably cc Dave Miller <davem@davemloft.net> on
anything in drivers/of as Sparc is the other user of this stuff (just in
case they are interested).

On Tue, 25 Mar 2008 19:46:41 +0100 Jochen Friedrich <jochen@scram.de> wrote:

You should really include <linux/of.h> instead.

                                      ^
You don't need the comma before the brace (unless you are anticipating
that struct i2c_driver_device will change.  Even then, its not a big
thing.


	for_each_child_of_node(adap_node, node) {
And then you don't need to initialise "node" above.


Do you need to clean up after the irq_of_parse_and_map() above?

--=20
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au
http://www.canb.auug.org.au/~sfr/
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [PATCHv4 2.6.25] i2c: adds support for i2c bus on Freesc..., Jochen Friedrich, (Sun Feb 24, 11:16 am)
Re: [PATCHv4 2.6.25] i2c: adds support for i2c bus on Freesc..., Jochen Friedrich, (Mon Feb 25, 12:48 pm)
Re: [PATCHv4 2.6.25] i2c: adds support for i2c bus on Freesc..., Stephen Rothwell, (Tue Mar 25, 8:41 pm)
speck-geostationary