[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <11bc8504-d32a-36fc-0a51-569fff3c4ee2@gmail.com>
Date: Thu, 26 Apr 2018 16:29:29 -0700
From: Florian Fainelli <f.fainelli@...il.com>
To: Wolfram Sang <wsa+renesas@...g-engineering.com>,
linux-kernel@...r.kernel.org
Cc: linux-renesas-soc@...r.kernel.org, kernel-janitors@...r.kernel.org,
Brian Norris <computersforpeace@...il.com>,
Gregory Fong <gregory.0xf0@...il.com>,
Florian Fainelli <f.fainelli@...il.com>,
bcm-kernel-feedback-list@...adcom.com,
linux-arm-kernel@...ts.infradead.org
Subject: Re: [PATCH 04/61] bus: simplify getting .drvdata
On 04/19/2018 07:05 AM, Wolfram Sang wrote:
> We should get drvdata from struct device directly. Going via
> platform_device is an unneeded step back and forth.
>
> Signed-off-by: Wolfram Sang <wsa+renesas@...g-engineering.com>
Looks reasonable, would you want to use dev_set_drvdata() while we are
it? That would bring more consistency given your proposed change.
Thanks!
--
--
Florian
Powered by blists - more mailing lists