video: tegra20: dc: remove unused video operations
authorSvyatoslav Ryhel <clamor95@gmail.com>
Sat, 1 Mar 2025 14:24:42 +0000 (16:24 +0200)
committerSvyatoslav Ryhel <clamor95@gmail.com>
Thu, 13 Mar 2025 17:13:17 +0000 (19:13 +0200)
Video operations are not required by the Tegra Display Controller
and should therefore be removed.

Signed-off-by: Svyatoslav Ryhel <clamor95@gmail.com>
drivers/video/tegra20/tegra-dc.c

index 904d0d2..516a397 100644 (file)
@@ -635,9 +635,6 @@ static int tegra_lcd_bind(struct udevice *dev)
        return 0;
 }
 
-static const struct video_ops tegra_lcd_ops = {
-};
-
 static const struct tegra_dc_soc_info tegra20_dc_soc_info = {
        .has_timer = true,
        .has_rgb = true,
@@ -678,7 +675,6 @@ U_BOOT_DRIVER(tegra_lcd) = {
        .name           = "tegra_lcd",
        .id             = UCLASS_VIDEO,
        .of_match       = tegra_lcd_ids,
-       .ops            = &tegra_lcd_ops,
        .bind           = tegra_lcd_bind,
        .probe          = tegra_lcd_probe,
        .of_to_plat     = tegra_lcd_of_to_plat,