[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <b374tfltb2vp3gr6nqmamlcl7lkz5crwj7elyxy6wh4izynxut@uin5lvjdhmz7>
Date: Thu, 29 Aug 2024 13:09:12 +0300
From: Dmitry Baryshkov <dmitry.baryshkov@...aro.org>
To: "Rob Herring (Arm)" <robh@...nel.org>
Cc: Liam Girdwood <lgirdwood@...il.com>, Mark Brown <broonie@...nel.org>,
linux-arm-msm@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH 1/2] regulator: qcom_spmi: Drop unnecessary
of_find_property() call
On Wed, Aug 28, 2024 at 08:00:54AM GMT, Rob Herring (Arm) wrote:
> There's no need to check for presence of "qcom,saw-reg" before parsing
> it. If the property doesn't exist, parsing it will return NULL.
>
> Signed-off-by: Rob Herring (Arm) <robh@...nel.org>
> ---
> drivers/regulator/qcom_spmi-regulator.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@...aro.org>
--
With best wishes
Dmitry
Powered by blists - more mailing lists