mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/chenhuacai/linux-loongson
synced 2025-09-04 10:33:13 +00:00
![]() devm_drm_bridge_alloc() returns ERR_PTR on failure instead of a
NULL pointer, so use IS_ERR() to check the returned pointer.
While at it, on failure, return ERR_CAST(dp) instead of
ERR_PTR(-ENOMEM) in order not to depend on devm_drm_bridge_alloc()
error code implementation.
Fixes:
|
||
---|---|---|
.. | ||
analogix_dp_core.c | ||
analogix_dp_core.h | ||
analogix_dp_reg.c | ||
analogix_dp_reg.h | ||
analogix-anx78xx.c | ||
analogix-anx78xx.h | ||
analogix-anx6345.c | ||
analogix-i2c-dptx.c | ||
analogix-i2c-dptx.h | ||
analogix-i2c-txcommon.h | ||
anx7625.c | ||
anx7625.h | ||
Kconfig | ||
Makefile |