]> Git Repo - J-u-boot.git/blobdiff - drivers/i2c/i2c-cortina.c
dm: treewide: Rename ofdata_to_platdata() to of_to_plat()
[J-u-boot.git] / drivers / i2c / i2c-cortina.c
index 420dfdbab94ece70539dc6197bf5777914a090dd..960ae8c700f979ff3838576190991b3763bc3ec0 100644 (file)
@@ -322,7 +322,7 @@ static int ca_i2c_probe(struct udevice *bus)
        return 0;
 }
 
-static int ca_i2c_ofdata_to_platdata(struct udevice *bus)
+static int ca_i2c_of_to_plat(struct udevice *bus)
 {
        struct ca_i2c *priv = dev_get_priv(bus);
 
@@ -339,7 +339,7 @@ U_BOOT_DRIVER(i2c_cortina) = {
        .name   = "i2c_cortina",
        .id     = UCLASS_I2C,
        .of_match = ca_i2c_ids,
-       .ofdata_to_platdata = ca_i2c_ofdata_to_platdata,
+       .of_to_plat = ca_i2c_of_to_plat,
        .probe  = ca_i2c_probe,
        .priv_auto      = sizeof(struct ca_i2c),
        .ops    = &ca_i2c_ops,
This page took 0.025392 seconds and 4 git commands to generate.