@@ -23,27 +23,3 @@ U_BOOT_DRIVER(syscon_rv1126) = {
#endif
.of_match = rv1126_syscon_ids,
};
-
-#if CONFIG_IS_ENABLED(OF_PLATDATA)
-static int rv1126_syscon_bind_of_plat(struct udevice *dev)
-{
- dev->driver_data = dev->driver->of_match->data;
- debug("syscon: %s %d\n", dev->name, (uint)dev->driver_data);
-
- return 0;
-}
-
-U_BOOT_DRIVER(rockchip_rv1126_pmu) = {
- .name = "rockchip_rv1126_pmu",
- .id = UCLASS_SYSCON,
- .of_match = rv1126_syscon_ids,
- .bind = rv1126_syscon_bind_of_plat,
-};
-
-U_BOOT_DRIVER(rockchip_rv1126_pmugrf) = {
- .name = "rockchip_rv1126_pmugrf",
- .id = UCLASS_SYSCON,
- .of_match = rv1126_syscon_ids + 1,
- .bind = rv1126_syscon_bind_of_plat,
-};
-#endif
Since commit 95397385091d ("treewide: Use OF_REAL instead of !OF_PLATDATA"), the OF_PLATDATA code, As OF_PLATDATA is no longer enabled, the related code is removed. Signed-off-by: Anand Moon <linux.amoon@gmail.com> --- arch/arm/mach-rockchip/rv1126/syscon_rv1126.c | 24 ------------------- 1 file changed, 24 deletions(-)