Re: RFC: Mega rename of device tree routines from of_*() to dt_*()

2010-11-25 Thread Michael Ellerman
On Thu, 2010-11-25 at 01:03 +1100, Michael Ellerman wrote: > Hi all, > > There were some murmurings on IRC last week about renaming the of_*() > routines. ... > The thinking is that on many platforms that use the of_() routines > OpenFirmware is not involved at all, this is true even on many power

Re: RFC: Mega rename of device tree routines from of_*() to dt_*()

2010-11-25 Thread Geert Uytterhoeven
On Thu, Nov 25, 2010 at 14:34, Michael Ellerman wrote: > I've left for_each_child_of_node(), because I read it as "of", but maybe > it's "OF"? I always read it as "for each child-OF-node", so I would rename it to "dt_for_each_child_node". Gr{oetje,eeting}s,                         Geert -- Gee

Re: RFC: Mega rename of device tree routines from of_*() to dt_*()

2010-11-25 Thread Grant Likely
On Thu, Nov 25, 2010 at 6:34 AM, Michael Ellerman wrote: > On Thu, 2010-11-25 at 01:03 +1100, Michael Ellerman wrote: >> Hi all, >> >> There were some murmurings on IRC last week about renaming the of_*() >> routines. > ... >> The thinking is that on many platforms that use the of_() routines >> O

Re: RFC: Mega rename of device tree routines from of_*() to dt_*()

2010-11-25 Thread Benjamin Herrenschmidt
On Thu, 2010-11-25 at 15:01 +0100, Geert Uytterhoeven wrote: > > I always read it as "for each child-OF-node", so I would rename it to > "dt_for_each_child_node". Well, it was meant to be for_child_of_node not _OF_node :-) Cheers, Ben. ___ Linuxppc-d

Re: RFC: Mega rename of device tree routines from of_*() to dt_*()

2010-11-25 Thread Michael Ellerman
On Thu, 2010-11-25 at 09:17 -0700, Grant Likely wrote: > On Thu, Nov 25, 2010 at 6:34 AM, Michael Ellerman > wrote: > > On Thu, 2010-11-25 at 01:03 +1100, Michael Ellerman wrote: > >> Hi all, > >> > >> There were some murmurings on IRC last week about renaming the of_*() > >> routines. > > ... > >

Re: RFC: Mega rename of device tree routines from of_*() to dt_*()

2010-11-25 Thread Mitch Bradley
On 11/25/2010 5:15 PM, Michael Ellerman wrote: On Thu, 2010-11-25 at 09:17 -0700, Grant Likely wrote: On Thu, Nov 25, 2010 at 6:34 AM, Michael Ellerman wrote: On Thu, 2010-11-25 at 01:03 +1100, Michael Ellerman wrote: Hi all, There were some murmurings on IRC last week about renaming the of

Re: RFC: Mega rename of device tree routines from of_*() to dt_*()

2010-11-25 Thread Michael Ellerman
On Thu, 2010-11-25 at 18:42 -1000, Mitch Bradley wrote: > On 11/25/2010 5:15 PM, Michael Ellerman wrote: > > On Thu, 2010-11-25 at 09:17 -0700, Grant Likely wrote: > >> On Thu, Nov 25, 2010 at 6:34 AM, Michael Ellerman > >> wrote: > >>> On Thu, 2010-11-25 at 01:03 +1100, Michael Ellerman wrote: >

Re: RFC: Mega rename of device tree routines from of_*() to dt_*()

2010-11-25 Thread Grant Likely
On Thu, Nov 25, 2010 at 10:50 PM, Michael Ellerman wrote: > On Thu, 2010-11-25 at 18:42 -1000, Mitch Bradley wrote: >> On 11/25/2010 5:15 PM, Michael Ellerman wrote: >> > On Thu, 2010-11-25 at 09:17 -0700, Grant Likely wrote: >> >> On Thu, Nov 25, 2010 at 6:34 AM, Michael Ellerman >> >>  wrote: >

Re: RFC: Mega rename of device tree routines from of_*() to dt_*()

2010-11-25 Thread Mitch Bradley
One Laptop Per Child ships real Open Firmware on its x86 Linux systems, of which approximately 2 million have been shipped or ordered. An ARM version, also with OFW, is in the works. OK. I don't see any code under arch/x86 or arch/arm that uses of_() routines though? Or is it under drivers or