[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <25ad8cd317c417031c52beac8b673d953db5e56f.camel@mediatek.com>
Date: Mon, 4 Dec 2023 02:53:10 +0000
From: Peter Wang (王信友)
<peter.wang@...iatek.com>
To: "beanhuo@...ron.com" <beanhuo@...ron.com>,
"avri.altman@....com" <avri.altman@....com>,
"bvanassche@....org" <bvanassche@....org>,
"martin.petersen@...cle.com" <martin.petersen@...cle.com>,
"junwoo80.lee@...sung.com" <junwoo80.lee@...sung.com>,
"mani@...nel.org" <mani@...nel.org>,
"vkoul@...nel.org" <vkoul@...nel.org>,
"quic_cang@...cinc.com" <quic_cang@...cinc.com>,
"adrian.hunter@...el.com" <adrian.hunter@...el.com>
CC: "linux-samsung-soc@...r.kernel.org"
<linux-samsung-soc@...r.kernel.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
"linux-mediatek@...ts.infradead.org"
<linux-mediatek@...ts.infradead.org>,
"u.kleine-koenig@...gutronix.de" <u.kleine-koenig@...gutronix.de>,
"jejb@...ux.ibm.com" <jejb@...ux.ibm.com>,
"quic_nitirawa@...cinc.com" <quic_nitirawa@...cinc.com>,
"linux-arm-msm@...r.kernel.org" <linux-arm-msm@...r.kernel.org>,
"krzysztof.kozlowski@...aro.org" <krzysztof.kozlowski@...aro.org>,
"linux-scsi@...r.kernel.org" <linux-scsi@...r.kernel.org>,
"alim.akhtar@...sung.com" <alim.akhtar@...sung.com>,
"chu.stanley@...il.com" <chu.stanley@...il.com>,
"linux-arm-kernel@...ts.infradead.org"
<linux-arm-kernel@...ts.infradead.org>,
Stanley Chu (朱原陞)
<stanley.chu@...iatek.com>,
"bmasney@...hat.com" <bmasney@...hat.com>,
"konrad.dybcio@...aro.org" <konrad.dybcio@...aro.org>,
"matthias.bgg@...il.com" <matthias.bgg@...il.com>,
"andersson@...nel.org" <andersson@...nel.org>,
"agross@...nel.org" <agross@...nel.org>,
"angelogioacchino.delregno@...labora.com"
<angelogioacchino.delregno@...labora.com>
Subject: Re: [PATCH v8 01/10] scsi: ufs: host: Rename structure ufs_dev_params
to ufs_host_params
On Sat, 2023-12-02 at 04:36 -0800, Can Guo wrote:
>
> External email : Please do not click links or open attachments until
> you have verified the sender or the content.
> Structure ufs_dev_params is actually used in UFS host vendor drivers
> to
> declare host specific power mode parameters, like ufs_<vendor>_params
> or
> host_cap, which makes the code not very straightforward to read.
> Rename the
> structure ufs_dev_params to ufs_host_params and unify the
> declarations in
> all vendor drivers to host_params.
>
> In addition, rename the two functions ufshcd_init_pwr_dev_param() and
> ufshcd_get_pwr_dev_param() which work based on the ufs_host_params to
> ufshcd_init_host_params() and ufshcd_negotiate_pwr_params()
> respectively to
> avoid confusions.
>
> This change does not change any functionalities or logic.
>
Reviewed-by: Peter Wang <peter.wang@...iatek.com>
Powered by blists - more mailing lists