diff options
author | 2023-10-12 11:57:22 +0200 | |
---|---|---|
committer | 2023-10-15 23:40:55 +0000 | |
commit | aa5fb24f971dd4b27a4e16fe7c054d052e0f8030 (patch) | |
tree | 9729c28e8715b6ec0b3d17c4b1c26512dc84babf /tools/perf/scripts/python/export-to-postgresql.py | |
parent | drm/mediatek: gamma: Adjust mtk_drm_gamma_set_common parameters (diff) | |
download | wireguard-linux-aa5fb24f971dd4b27a4e16fe7c054d052e0f8030.tar.xz wireguard-linux-aa5fb24f971dd4b27a4e16fe7c054d052e0f8030.zip |
drm/mediatek: gamma: Reduce indentation in mtk_gamma_set_common()
Invert the check for state->gamma_lut and move it at the beginning
of the function to reduce indentation: this prepares the code for
keeping readability on later additions.
This commit brings no functional changes.
Reviewed-by: Jason-JH.Lin <jason-jh.lin@mediatek.com>
Reviewed-by: Alexandre Mergnat <amergnat@baylibre.com>
Reviewed-by: CK Hu <ck.hu@mediatek.com>
Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Link: https://patchwork.kernel.org/project/dri-devel/patch/20231012095736.100784-3-angelogioacchino.delregno@collabora.com/
Signed-off-by: Chun-Kuang Hu <chunkuang.hu@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions