Re: [PATCH 1/2] regulator: qcom_spmi: Drop unnecessary of_find_property() call
From: Dmitry Baryshkov
Date: Thu Aug 29 2024 - 06:09:25 EST
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@xxxxxxxxxx>
> ---
> drivers/regulator/qcom_spmi-regulator.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@xxxxxxxxxx>
--
With best wishes
Dmitry