]> Git Repo - J-u-boot.git/blobdiff - drivers/adc/sandbox.c
dm: treewide: Rename ofdata_to_platdata() to of_to_plat()
[J-u-boot.git] / drivers / adc / sandbox.c
index 905ce4fc51f30a6c0fd84be1c31688838e97e574..6e435462ab85ce0bb034539ead12f1b2b3821d4f 100644 (file)
@@ -135,7 +135,7 @@ int sandbox_adc_probe(struct udevice *dev)
        return 0;
 }
 
-int sandbox_adc_ofdata_to_platdata(struct udevice *dev)
+int sandbox_adc_of_to_plat(struct udevice *dev)
 {
        struct adc_uclass_plat *uc_pdata = dev_get_uclass_plat(dev);
 
@@ -168,6 +168,6 @@ U_BOOT_DRIVER(sandbox_adc) = {
        .of_match       = sandbox_adc_ids,
        .ops            = &sandbox_adc_ops,
        .probe          = sandbox_adc_probe,
-       .ofdata_to_platdata = sandbox_adc_ofdata_to_platdata,
+       .of_to_plat = sandbox_adc_of_to_plat,
        .priv_auto      = sizeof(struct sandbox_adc_priv),
 };
This page took 0.025185 seconds and 4 git commands to generate.