]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/debugfs: Drop conditionals around of_node pointers
authorSui Jingfeng <sui.jingfeng@linux.dev>
Wed, 1 May 2024 05:13:23 +0000 (13:13 +0800)
committerDouglas Anderson <dianders@chromium.org>
Wed, 1 May 2024 16:06:46 +0000 (09:06 -0700)
commit235e60653f8dbe4441d9ddca9fbeeb3e8083faa9
tree4e9b0a0a5d19275d31a0980a306f0f99d9564a44
parent13d56abef172e8ef793fbab58268b60687698f15
drm/debugfs: Drop conditionals around of_node pointers

Having conditional around the of_node pointer of the drm_bridge structure
is not necessary anymore, since drm_bridge structure always has the of_node
member since the commit d8dfccde2709 ("drm/bridge: Drop conditionals around
of_node pointers").

So drop the conditional, please also note that this patch is following the
convention used by driver core, see commit c9e358dfc4a8 ("driver-core:
remove conditionals around devicetree pointers").

Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Sui Jingfeng <sui.jingfeng@linux.dev>
Reviewed-by: Douglas Anderson <dianders@chromium.org>
Signed-off-by: Douglas Anderson <dianders@chromium.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20240501051323.805076-1-sui.jingfeng@linux.dev
drivers/gpu/drm/drm_debugfs.c