Re: drm/debugfs: Drop conditionals around of_node pointers

From: Maxime Ripard
Date: Mon Apr 29 2024 - 07:31:14 EST


On Sun, Apr 28, 2024 at 04:52:13PM +0800, Sui Jingfeng wrote:
> ping
>
> 在 2024/3/22 06:22, Sui Jingfeng 写道:
> > Having conditional around the of_node pointer of the drm_bridge structure
> > turns out to make driver code use ugly #ifdef blocks.

The code being ugly is an opinion, what problem is it causing exactly?

> Drop the conditionals to simplify debugfs.

What does it simplifies?

> >
> > Fixes: d8dfccde2709 ("drm/bridge: Drop conditionals around of_node pointers")
> > Signed-off-by: Sui Jingfeng <sui.jingfeng@xxxxxxxxx>

Why do we want to backport that patch to stable?

Maxime

Attachment: signature.asc
Description: PGP signature