[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20180612221815.GA28761@rob-hp-laptop>
Date: Tue, 12 Jun 2018 16:18:15 -0600
From: Rob Herring <robh@...nel.org>
To: Benjamin Herrenschmidt <benh@...nel.crashing.org>
Cc: devicetree@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] drivers/of: Make of_io_request_and_map() "name" argument
optional
On Tue, Jun 12, 2018 at 10:01:07AM +1000, Benjamin Herrenschmidt wrote:
> These days of_address_to_resource() puts a reasonable name
> in the resource struct, thus make the "name" argument an
> optional override.
>
> Signed-off-by: Benjamin Herrenschmidt <benh@...nel.crashing.org>
> ---
>
> Just something I noticed ... we should probably update the
> callers to stop passing stupid names..
Sounds like a coccinelle patch.
When do we need an actual name passed in? It does get exposed to
userspace, but no one seemed to care when names changed from full path
(which is commonly used) to just the node name.
Rob
Powered by blists - more mailing lists