Messages in this thread | | | Date | Fri, 18 Jan 2013 11:47:17 -0800 | From | Greg Kroah-Hartman <> | Subject | Re: [PATCH] platform: Fix platform device resource linking |
| |
On Fri, Jan 18, 2013 at 11:05:14AM +0200, Pantelis Antoniou wrote: > It might make sense for the of_device_* functions that are duplicating > platform_device_* functions to be removed, and their functionality to > be subsumed by platform_device_*, possibly by calling some helper functions > in drivers/of/ when of_node is not NULL. The of_device_* functions can be > replaced by a direct call to platform_device_* via a define (until all of > the callers get converted).
That sounds reasonable.
> The problem with doing anything like this would be that a whole bunch of > devices/arches depend on DT, and if anything breaks there will be a lot of > angry people with pitchforks after the culprit.
That's nothing new, we are totally used to that happening :)
> So without the full force of a core maintainer behind such a move, people > are reluctant to do so.
Send patches if you want to do this, no need for the maintainer to do it (hint, I will not as I don't even have a system that this type of code runs on.)
thanks,
greg k-h
| |