summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDouglas Anderson <dianders@chromium.org>2023-08-02 07:47:28 -0700
committerNeil Armstrong <neil.armstrong@linaro.org>2023-08-03 10:21:27 +0200
commit1ab2ddc4afdd84632c24b23dbe67eb4ca423dcc5 (patch)
treec3f8566d59a1b30de2b1f43c85ec1ddbd4687d52
parentc0571b20fca4acebd4cb5fcfd07ca4654e9d63dd (diff)
downloadlinux-stable-1ab2ddc4afdd84632c24b23dbe67eb4ca423dcc5.tar.gz
linux-stable-1ab2ddc4afdd84632c24b23dbe67eb4ca423dcc5.tar.bz2
linux-stable-1ab2ddc4afdd84632c24b23dbe67eb4ca423dcc5.zip
drm/panel: Fix todo indentation for panel prepared/enabled cleanup
In commit d2aacaf07395 ("drm/panel: Check for already prepared/enabled in drm_panel") the formatting for a code block was not quite right. This caused an error when building htmldocs: Documentation/gpu/todo.rst:469: ERROR: Unexpected indentation. Fix the error by using the proper syntax for a code block. Fixes: d2aacaf07395 ("drm/panel: Check for already prepared/enabled in drm_panel") Reported-by: Stephen Rothwell <sfr@canb.auug.org.au> Closes: https://lore.kernel.org/r/20230802141724.0edce253@canb.auug.org.au Signed-off-by: Douglas Anderson <dianders@chromium.org> Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org> Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org> Link: https://patchwork.freedesktop.org/patch/msgid/20230802074727.2.Iaeb7b0f7951aee6b8c090364bbc87b1ae198a857@changeid
-rw-r--r--Documentation/gpu/todo.rst3
1 files changed, 2 insertions, 1 deletions
diff --git a/Documentation/gpu/todo.rst b/Documentation/gpu/todo.rst
index aa0052f9b93b..139980487ccf 100644
--- a/Documentation/gpu/todo.rst
+++ b/Documentation/gpu/todo.rst
@@ -465,7 +465,8 @@ Clean up checks for already prepared/enabled in panels
In a whole pile of panel drivers, we have code to make the
prepare/unprepare/enable/disable callbacks behave as no-ops if they've already
-been called. To get some idea of the duplicated code, try:
+been called. To get some idea of the duplicated code, try::
+
git grep 'if.*>prepared' -- drivers/gpu/drm/panel
git grep 'if.*>enabled' -- drivers/gpu/drm/panel