]> www.infradead.org Git - users/dwmw2/linux.git/commit
drm/drm-bridge: Drop conditionals around of_node pointers
authorSui Jingfeng <sui.jingfeng@linux.dev>
Tue, 7 May 2024 18:00:00 +0000 (02:00 +0800)
committerRobert Foss <rfoss@kernel.org>
Wed, 8 May 2024 13:44:21 +0000 (15:44 +0200)
commitad3323a6ccb7d43bbeeaa46d5311c43d5d361fc7
tree98f61699e8ec5ed42cc881b775d50e6d1ae431ba
parent7fb8af6798e8d013017e4607505f58d9942fd671
drm/drm-bridge: Drop conditionals around of_node pointers

Having conditional around the of_node pointer of the drm_bridge structure
is not necessary, since drm_bridge structure always has the of_node as its
member.

Let's drop the conditional to get a better looks, please also note that
this is following the already accepted commitments. see commit d8dfccde2709
("drm/bridge: Drop conditionals around of_node pointers") for reference.

Signed-off-by: Sui Jingfeng <sui.jingfeng@linux.dev>
Reviewed-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Signed-off-by: Robert Foss <rfoss@kernel.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20240507180001.1358816-1-sui.jingfeng@linux.dev
drivers/gpu/drm/drm_bridge.c