Re: [PATCH v2-UPDATE2 3/4] resource: Add device-managed insert/remove_resource()
From: Linus Torvalds
Date: Tue Mar 08 2016 - 15:05:56 EST
On Tue, Mar 8, 2016 at 10:08 AM, Toshi Kani <toshi.kani@xxxxxxx> wrote:
> Add device-managed implementaions of insert_resource() and
> remove_resouce() functions.
Can we get an example of the users and show how much this would actually help?
insert_resource() is fairly unusual to begin with, and it should
basically *never* be used by a driver at all (it's more of a bus
The patch doesn't look _wrong_, but it does look potentially largely
pointless. Adding new interfaces to do things that aren't common
enough to worry about is counter-productive, imho.