On Sun, Mar 7, 2010 at 11:05 AM, Greg KH <gregkh@suse.de> wrote:
Thanks Greg.
Yes, I seem to be moving in that direction. The OF api's are turning
out to be quite complementary to the rest of the driver model. If
CONFIG_OF is enabled, then a whole bunch of routines become available
to drivers for fetching data as an alternative to pdata. If not, then
the OF apis become empty inline stubs that return invalid or error
codes. The nice thing is that the apis all work the same, regardless
of the underlying bus interface, so it is usable by more than just the
platform & of_platform busses.
I've got a metric truckload of patches to post that go in this
direction, but I'm waiting until after the merge window so I don't add
to the normal bedlam. :-)
Cheers,
g.
---
Grant Likely, B.Sc., P.Eng.
Secret Lab Technologies Ltd.
--