]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/amd/display: re-indent dpp401_dscl_program_isharp()
authorDan Carpenter <dan.carpenter@linaro.org>
Sun, 28 Apr 2024 12:42:44 +0000 (15:42 +0300)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 30 Apr 2024 13:59:44 +0000 (09:59 -0400)
commit01d6606beca0b7e84ce9d7a8d5cd4a9a850a00d0
treeaa41fcb32cfef90b4ae6f093871061d0de9f9792
parent86df36b934640866eb249a4488abb148b985a0d9
drm/amd/display: re-indent dpp401_dscl_program_isharp()

Smatch complains because some lines are indented more than they should
be.  I went a bit crazy re-indenting this.  ;)

The comments were not useful except as a marker of things which are left
to implement so I deleted most of them except for the TODO.

I introduced a "data" pointer so that I could replace
"scl_data->dscl_prog_data." with just "data->" and shorten the lines a
bit.  It's more readable without the line breaks.

I also tried to align it so you can see what is changing on each line.

Signed-off-by: Dan Carpenter <dan.carpenter@linaro.org>
Reviewed-by: Aurabindo Pillai <aurabindo.pillai@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dpp/dcn401/dcn401_dpp_dscl.c