diff options
author | Marek Vasut <marex@denx.de> | 2023-07-09 18:22:53 +0200 |
---|---|---|
committer | Douglas Anderson <dianders@chromium.org> | 2023-07-20 10:54:12 -0700 |
commit | c942e935ff3fa56f6f140c70e04089ee7c389e46 (patch) | |
tree | 82f9a3b0cb404f9c04ca22750a0e2defe9ea7d27 | |
parent | c7a472297169156252a50d76965eb36b081186e2 (diff) | |
download | lwn-c942e935ff3fa56f6f140c70e04089ee7c389e46.tar.gz lwn-c942e935ff3fa56f6f140c70e04089ee7c389e46.zip |
drm/panel: simple: Drop prepared_time
This has been superseded by RPM in commit
3235b0f20a0a ("drm/panel: panel-simple: Use runtime pm to avoid excessive unprepare / prepare")
and the last user of the non-RPM case has been dropped in commit
b6d5ffce11dd ("drm/panel-simple: Non-eDP panels don't need "HPD" handling")
whatever is left in this driver is just assigned and never used.
Drop the remaining parts.
Signed-off-by: Marek Vasut <marex@denx.de>
Reviewed-by: Douglas Anderson <dianders@chromium.org>
Reviewed-by: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: Douglas Anderson <dianders@chromium.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20230709162253.464299-1-marex@denx.de
-rw-r--r-- | drivers/gpu/drm/panel/panel-simple.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/gpu/drm/panel/panel-simple.c b/drivers/gpu/drm/panel/panel-simple.c index 241243447b3e..77cfc606df48 100644 --- a/drivers/gpu/drm/panel/panel-simple.c +++ b/drivers/gpu/drm/panel/panel-simple.c @@ -141,7 +141,6 @@ struct panel_simple { bool prepared; - ktime_t prepared_time; ktime_t unprepared_time; const struct panel_desc *desc; @@ -351,8 +350,6 @@ static int panel_simple_resume(struct device *dev) if (p->desc->delay.prepare) msleep(p->desc->delay.prepare); - p->prepared_time = ktime_get_boottime(); - return 0; } @@ -566,7 +563,6 @@ static int panel_simple_probe(struct device *dev, const struct panel_desc *desc) return -ENOMEM; panel->enabled = false; - panel->prepared_time = 0; panel->desc = desc; panel->supply = devm_regulator_get(dev, "power"); |