[PATCH 2/4] phy: rockchip: snps-pcie3: Fix "rockchip" spelling

Kever Yang kever.yang at rock-chips.com
Mon Jul 15 08:49:04 CEST 2024


On 2024/7/15 05:23, Sebastian Kropatsch wrote:
> Several identifiers use "rochchip" instead of "rockchip".
> Fix this by replacing every instance of "rochchip" with "rockchip".
>
> Signed-off-by: Sebastian Kropatsch <seb-dev at mail.de>
Reviewed-by: Kever Yang <kever.yang at rock-chips.com>

Thanks,
- Kever
> ---
>   drivers/phy/rockchip/phy-rockchip-snps-pcie3.c | 12 ++++++------
>   1 file changed, 6 insertions(+), 6 deletions(-)
>
> diff --git a/drivers/phy/rockchip/phy-rockchip-snps-pcie3.c b/drivers/phy/rockchip/phy-rockchip-snps-pcie3.c
> index 2737bd81dd..1c94875aaa 100644
> --- a/drivers/phy/rockchip/phy-rockchip-snps-pcie3.c
> +++ b/drivers/phy/rockchip/phy-rockchip-snps-pcie3.c
> @@ -164,7 +164,7 @@ static const struct rockchip_p3phy_ops rk3588_ops = {
>   	.phy_init = rockchip_p3phy_rk3588_init,
>   };
>   
> -static int rochchip_p3phy_init(struct phy *phy)
> +static int rockchip_p3phy_init(struct phy *phy)
>   {
>   	struct rockchip_p3phy_ops *ops =
>   		(struct rockchip_p3phy_ops *)dev_get_driver_data(phy->dev);
> @@ -185,7 +185,7 @@ static int rochchip_p3phy_init(struct phy *phy)
>   	return ret;
>   }
>   
> -static int rochchip_p3phy_exit(struct phy *phy)
> +static int rockchip_p3phy_exit(struct phy *phy)
>   {
>   	struct rockchip_p3phy_priv *priv = dev_get_priv(phy->dev);
>   
> @@ -251,9 +251,9 @@ static int rockchip_p3phy_probe(struct udevice *dev)
>   	return 0;
>   }
>   
> -static struct phy_ops rochchip_p3phy_ops = {
> -	.init = rochchip_p3phy_init,
> -	.exit = rochchip_p3phy_exit,
> +static struct phy_ops rockchip_p3phy_ops = {
> +	.init = rockchip_p3phy_init,
> +	.exit = rockchip_p3phy_exit,
>   };
>   
>   static const struct udevice_id rockchip_p3phy_of_match[] = {
> @@ -272,7 +272,7 @@ U_BOOT_DRIVER(rockchip_pcie3phy) = {
>   	.name		= "rockchip_pcie3phy",
>   	.id		= UCLASS_PHY,
>   	.of_match	= rockchip_p3phy_of_match,
> -	.ops		= &rochchip_p3phy_ops,
> +	.ops		= &rockchip_p3phy_ops,
>   	.probe		= rockchip_p3phy_probe,
>   	.priv_auto	= sizeof(struct rockchip_p3phy_priv),
>   };


More information about the U-Boot mailing list