[PATCH v1] drm/bridge: analogix_dp: Drop the redundant plat_data NULL checks

Luca Ceresoli luca.ceresoli at bootlin.com
Tue Dec 1 09:24:05 PST 2026


On Mon Nov 30, 2026 at 10:43 AM CET, Damon Ding wrote:
> The &analogix_dp_device.plat_data is always set by analogix_dp_probe(),
> which rejects a NULL pointer, and both platform drivers pass a pointer
> to an embedded struct member. The checks are therefore redundant.
>
> Reported-by: kernel test robot <lkp at intel.com>
> Reported-by: Dan Carpenter <error27 at gmail.com>
> Closes: https://lore.kernel.org/r/20261127191930.YPrJQfCE-lkp@intel.com/
> Signed-off-by: Damon Ding <damon.ding at rock-chips.com>

Acked-by: Luca Ceresoli <luca.ceresoli at bootlin.com>

--
Luca Ceresoli, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com



More information about the Linux-rockchip mailing list