[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20231102054634.u3nse5sv5mknyw7z@vireshk-i7>
Date: Thu, 2 Nov 2023 11:16:34 +0530
From: Viresh Kumar <viresh.kumar@...aro.org>
To: Rob Herring <robh@...nel.org>
Cc: Viresh Kumar <vireshk@...nel.org>, Nishanth Menon <nm@...com>,
Stephen Boyd <sboyd@...nel.org>, linux-pm@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH v2] opp: ti: Use device_get_match_data()
On 01-11-23, 09:45, Rob Herring wrote:
> Use preferred device_get_match_data() instead of of_match_device() to
> get the driver match data. With this, adjust the includes to explicitly
> include the correct headers.
>
> As this driver only does DT based matching, of_match_device() will never
> return NULL if we've gotten to probe(). Therefore, the NULL check and
> error return for it can be dropped.
>
> Signed-off-by: Rob Herring <robh@...nel.org>
> ---
> v2:
> - Add missing commit msg
> ---
> drivers/opp/ti-opp-supply.c | 13 +++----------
> 1 file changed, 3 insertions(+), 10 deletions(-)
Applied. Thanks.
--
viresh
Powered by blists - more mailing lists