lkml.org 
[lkml]   [2013]   [Jan]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH] platform: Fix platform device resource linking
From
Date
Hi Greg,

On Jan 18, 2013, at 9:47 PM, Greg Kroah-Hartman wrote:

> 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 :)
>

I'm fearful of the angry mob with torches and pitchforks after me, if something
gets broken :)

>> 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.)
>

OK, maybe next week, when I think of this a little bit more.

> thanks,
>
> greg k-h

Regards

-- Pantelis

\
 
 \ /
  Last update: 2013-01-18 22:42    [W:1.109 / U:0.308 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site