[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20230814194335.GV1428172@hu-bjorande-lv.qualcomm.com>
Date: Mon, 14 Aug 2023 12:43:35 -0700
From: Bjorn Andersson <quic_bjorande@...cinc.com>
To: Andrei Coardos <aboutphysycs@...il.com>
CC: <linux-kernel@...r.kernel.org>, <linux-pm@...r.kernel.org>,
<linux-arm-msm@...r.kernel.org>, <alex@...uggie.ro>,
<sre@...nel.org>, <konrad.dybcio@...aro.org>,
<andersson@...nel.org>, <agross@...nel.org>
Subject: Re: [PATCH] power: reset: qcom-pon: removed unneeded call to
platform_set_drvdata()
On Mon, Aug 14, 2023 at 09:18:23PM +0300, Andrei Coardos wrote:
> This function call was found to be unnecessary as there is no equivalent
> platform_get_drvdata() call to access the private data of the driver. Also,
> the private data is defined in this driver, so there is no risk of it being
> accessed outside of this driver file.
>
> Signed-off-by: Andrei Coardos <aboutphysycs@...il.com>
Reviewed-by: Bjorn Andersson <quic_bjorande@...cinc.com>
Regards,
Bjorn
Powered by blists - more mailing lists