2006-01-04 17:14:36

by Kumar Gala

[permalink] [raw]
Subject: platform_device_add_resources doesn't request the resources?

Is there any reason that platform_device_add_resources doesn't process the
resources that are passed to it like platform_device_add does?

- kumar


2006-01-04 17:27:18

by Russell King

[permalink] [raw]
Subject: Re: platform_device_add_resources doesn't request the resources?

On Wed, Jan 04, 2006 at 11:07:51AM -0600, Kumar Gala wrote:
> Is there any reason that platform_device_add_resources doesn't process the
> resources that are passed to it like platform_device_add does?

Yes. Please dig out the example usage in the change comments which
introduced it. The use is clearly explained in there.

--
Russell King
Linux kernel 2.6 ARM Linux - http://www.arm.linux.org.uk/
maintainer of: 2.6 Serial core

2006-01-04 17:31:44

by Kumar Gala

[permalink] [raw]
Subject: Re: platform_device_add_resources doesn't request the resources?

On Wed, 4 Jan 2006, Russell King wrote:

> On Wed, Jan 04, 2006 at 11:07:51AM -0600, Kumar Gala wrote:
> > Is there any reason that platform_device_add_resources doesn't process the
> > resources that are passed to it like platform_device_add does?
>
> Yes. Please dig out the example usage in the change comments which
> introduced it. The use is clearly explained in there.

Will do so. Out of interest is there a way to do this with git. Some
cross between an annotate command and history. Give it a line number get
which commit that was related to and then git the commit message for it.

- kumar