Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

phy: rockchip: Fix typo in function names

Several functions had "rochchip" instead of "rockchip" in their name.
Replace "rochchip" by "rockchip".

Signed-off-By: Rick Wertenbroek <rick.wertenbroek@gmail.com>
Reviewed-by: Heiko Stuebner <heiko@sntech.de>
Link: https://lore.kernel.org/r/20240307095318.3651498-1-rick.wertenbroek@gmail.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>

authored by

Rick Wertenbroek and committed by
Vinod Koul
9b6bfad9 f320268f

+8 -8
+2 -2
drivers/phy/rockchip/phy-rockchip-naneng-combphy.c
··· 245 245 return 0; 246 246 } 247 247 248 - static const struct phy_ops rochchip_combphy_ops = { 248 + static const struct phy_ops rockchip_combphy_ops = { 249 249 .init = rockchip_combphy_init, 250 250 .exit = rockchip_combphy_exit, 251 251 .owner = THIS_MODULE, ··· 352 352 return ret; 353 353 } 354 354 355 - priv->phy = devm_phy_create(dev, NULL, &rochchip_combphy_ops); 355 + priv->phy = devm_phy_create(dev, NULL, &rockchip_combphy_ops); 356 356 if (IS_ERR(priv->phy)) { 357 357 dev_err(dev, "failed to create combphy\n"); 358 358 return PTR_ERR(priv->phy);
+6 -6
drivers/phy/rockchip/phy-rockchip-snps-pcie3.c
··· 187 187 .phy_init = rockchip_p3phy_rk3588_init, 188 188 }; 189 189 190 - static int rochchip_p3phy_init(struct phy *phy) 190 + static int rockchip_p3phy_init(struct phy *phy) 191 191 { 192 192 struct rockchip_p3phy_priv *priv = phy_get_drvdata(phy); 193 193 int ret; ··· 210 210 return ret; 211 211 } 212 212 213 - static int rochchip_p3phy_exit(struct phy *phy) 213 + static int rockchip_p3phy_exit(struct phy *phy) 214 214 { 215 215 struct rockchip_p3phy_priv *priv = phy_get_drvdata(phy); 216 216 ··· 219 219 return 0; 220 220 } 221 221 222 - static const struct phy_ops rochchip_p3phy_ops = { 223 - .init = rochchip_p3phy_init, 224 - .exit = rochchip_p3phy_exit, 222 + static const struct phy_ops rockchip_p3phy_ops = { 223 + .init = rockchip_p3phy_init, 224 + .exit = rockchip_p3phy_exit, 225 225 .set_mode = rockchip_p3phy_set_mode, 226 226 .owner = THIS_MODULE, 227 227 }; ··· 280 280 return priv->num_lanes; 281 281 } 282 282 283 - priv->phy = devm_phy_create(dev, NULL, &rochchip_p3phy_ops); 283 + priv->phy = devm_phy_create(dev, NULL, &rockchip_p3phy_ops); 284 284 if (IS_ERR(priv->phy)) { 285 285 dev_err(dev, "failed to create combphy\n"); 286 286 return PTR_ERR(priv->phy);