mirror of
https://xff.cz/git/u-boot/
synced 2025-11-01 19:05:51 +01:00
dm: treewide: Rename ofdata_to_platdata() to of_to_plat()
This name is far too long. Rename it to remove the 'data' bits. This makes it consistent with the platdata->plat rename. Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
4
drivers/cache/cache-v5l2.c
vendored
4
drivers/cache/cache-v5l2.c
vendored
@@ -104,7 +104,7 @@ static int v5l2_disable(struct udevice *dev)
|
||||
return 0;
|
||||
}
|
||||
|
||||
static int v5l2_ofdata_to_platdata(struct udevice *dev)
|
||||
static int v5l2_of_to_plat(struct udevice *dev)
|
||||
{
|
||||
struct v5l2_plat *plat = dev_get_plat(dev);
|
||||
struct l2cache *regs;
|
||||
@@ -180,7 +180,7 @@ U_BOOT_DRIVER(v5l2_cache) = {
|
||||
.name = "v5l2_cache",
|
||||
.id = UCLASS_CACHE,
|
||||
.of_match = v5l2_cache_ids,
|
||||
.ofdata_to_platdata = v5l2_ofdata_to_platdata,
|
||||
.of_to_plat = v5l2_of_to_plat,
|
||||
.probe = v5l2_probe,
|
||||
.plat_auto = sizeof(struct v5l2_plat),
|
||||
.ops = &v5l2_cache_ops,
|
||||
|
||||
Reference in New Issue
Block a user