mirror of https://github.com/torvalds/linux.git
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:
|
||
|---|---|---|
| .. | ||
| Kconfig | ||
| Makefile | ||
| analogix-anx78xx.c | ||
| analogix-anx78xx.h | ||
| analogix-anx6345.c | ||
| analogix-i2c-dptx.c | ||
| analogix-i2c-dptx.h | ||
| analogix-i2c-txcommon.h | ||
| analogix_dp_core.c | ||
| analogix_dp_core.h | ||
| analogix_dp_reg.c | ||
| analogix_dp_reg.h | ||
| anx7625.c | ||
| anx7625.h | ||