Skip to content

Commit 9b6bfad

Browse files
rwk-gitvinodkoul
authored andcommitted
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 <[email protected]> Reviewed-by: Heiko Stuebner <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Vinod Koul <[email protected]>
1 parent f320268 commit 9b6bfad

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

drivers/phy/rockchip/phy-rockchip-naneng-combphy.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,7 @@ static int rockchip_combphy_exit(struct phy *phy)
245245
return 0;
246246
}
247247

248-
static const struct phy_ops rochchip_combphy_ops = {
248+
static const struct phy_ops rockchip_combphy_ops = {
249249
.init = rockchip_combphy_init,
250250
.exit = rockchip_combphy_exit,
251251
.owner = THIS_MODULE,
@@ -352,7 +352,7 @@ static int rockchip_combphy_probe(struct platform_device *pdev)
352352
return ret;
353353
}
354354

355-
priv->phy = devm_phy_create(dev, NULL, &rochchip_combphy_ops);
355+
priv->phy = devm_phy_create(dev, NULL, &rockchip_combphy_ops);
356356
if (IS_ERR(priv->phy)) {
357357
dev_err(dev, "failed to create combphy\n");
358358
return PTR_ERR(priv->phy);

drivers/phy/rockchip/phy-rockchip-snps-pcie3.c

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@ static const struct rockchip_p3phy_ops rk3588_ops = {
187187
.phy_init = rockchip_p3phy_rk3588_init,
188188
};
189189

190-
static int rochchip_p3phy_init(struct phy *phy)
190+
static int rockchip_p3phy_init(struct phy *phy)
191191
{
192192
struct rockchip_p3phy_priv *priv = phy_get_drvdata(phy);
193193
int ret;
@@ -210,7 +210,7 @@ static int rochchip_p3phy_init(struct phy *phy)
210210
return ret;
211211
}
212212

213-
static int rochchip_p3phy_exit(struct phy *phy)
213+
static int rockchip_p3phy_exit(struct phy *phy)
214214
{
215215
struct rockchip_p3phy_priv *priv = phy_get_drvdata(phy);
216216

@@ -219,9 +219,9 @@ static int rochchip_p3phy_exit(struct phy *phy)
219219
return 0;
220220
}
221221

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,
225225
.set_mode = rockchip_p3phy_set_mode,
226226
.owner = THIS_MODULE,
227227
};
@@ -280,7 +280,7 @@ static int rockchip_p3phy_probe(struct platform_device *pdev)
280280
return priv->num_lanes;
281281
}
282282

283-
priv->phy = devm_phy_create(dev, NULL, &rochchip_p3phy_ops);
283+
priv->phy = devm_phy_create(dev, NULL, &rockchip_p3phy_ops);
284284
if (IS_ERR(priv->phy)) {
285285
dev_err(dev, "failed to create combphy\n");
286286
return PTR_ERR(priv->phy);

0 commit comments

Comments
 (0)