[PATCH 02/17] phy: qcom-qmp-pcie-msm8996: drop unused type from config
Neil Armstrong
neil.armstrong at linaro.org
Tue Sep 20 06:50:59 PDT 2022
On 20/09/2022 09:38, Johan Hovold wrote:
> The configuration PHY type is no longer used since the QMP driver split
> so drop it from the configuration.
>
> Signed-off-by: Johan Hovold <johan+linaro at kernel.org>
> ---
> drivers/phy/qualcomm/phy-qcom-qmp-pcie-msm8996.c | 3 ---
> 1 file changed, 3 deletions(-)
>
> diff --git a/drivers/phy/qualcomm/phy-qcom-qmp-pcie-msm8996.c b/drivers/phy/qualcomm/phy-qcom-qmp-pcie-msm8996.c
> index 245f6dc1710e..20a76b1b23a2 100644
> --- a/drivers/phy/qualcomm/phy-qcom-qmp-pcie-msm8996.c
> +++ b/drivers/phy/qualcomm/phy-qcom-qmp-pcie-msm8996.c
> @@ -188,8 +188,6 @@ struct qmp_phy;
>
> /* struct qmp_phy_cfg - per-PHY initialization config */
> struct qmp_phy_cfg {
> - /* phy-type - PCIE/UFS/USB */
> - unsigned int type;
> /* number of lanes provided by phy */
> int nlanes;
>
> @@ -323,7 +321,6 @@ static const char * const qmp_phy_vreg_l[] = {
> };
>
> static const struct qmp_phy_cfg msm8996_pciephy_cfg = {
> - .type = PHY_TYPE_PCIE,
> .nlanes = 3,
>
> .serdes_tbl = msm8996_pcie_serdes_tbl,
Reviewed-by: Neil Armstrong <neil.armstrong at linaro.org>
More information about the linux-phy
mailing list