]> Git Repo - J-u-boot.git/blobdiff - drivers/clk/aspeed/clk_ast2500.c
dm: treewide: Rename ofdata_to_platdata() to of_to_plat()
[J-u-boot.git] / drivers / clk / aspeed / clk_ast2500.c
index e2e8d49b655e79c600862e64202352bddf35c64a..a0906716250a53c8d9bd8cfdd7e96f0ba9761a54 100644 (file)
@@ -491,7 +491,7 @@ struct clk_ops ast2500_clk_ops = {
        .enable = ast2500_clk_enable,
 };
 
-static int ast2500_clk_ofdata_to_platdata(struct udevice *dev)
+static int ast2500_clk_of_to_plat(struct udevice *dev)
 {
        struct ast2500_clk_priv *priv = dev_get_priv(dev);
 
@@ -526,5 +526,5 @@ U_BOOT_DRIVER(aspeed_ast2500_scu) = {
        .priv_auto      = sizeof(struct ast2500_clk_priv),
        .ops            = &ast2500_clk_ops,
        .bind           = ast2500_clk_bind,
-       .ofdata_to_platdata             = ast2500_clk_ofdata_to_platdata,
+       .of_to_plat             = ast2500_clk_of_to_plat,
 };
This page took 0.025508 seconds and 4 git commands to generate.