linux/drivers/gpu/drm/bridge/analogix
Rob Herring (Arm) 11c742bb5a
drm: bridge: anx7625: Use of_property_read_variable_u8_array()
There's no need to get the length of an DT array property before
parsing the array. of_property_read_variable_u8_array() takes a minimum
and maximum length and returns the actual length (or error code).

This is part of a larger effort to remove callers of of_get_property()
and similar functions. of_get_property() leaks the DT property data
pointer which is a problem for dynamically allocated nodes which may
be freed.

Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
Signed-off-by: Robert Foss <rfoss@kernel.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20240731201407.1838385-4-robh@kernel.org
2024-08-19 15:27:43 +02:00
..
Kconfig Revert "drm: Switch DRM_DISPLAY_HELPER to depends on" 2024-05-02 17:58:23 +02:00
Makefile
analogix-anx78xx.c drm/bridge/analogix/anx78xx: switch to struct drm_edid 2024-05-13 19:10:53 +02:00
analogix-anx78xx.h
analogix-anx6345.c drm/bridge/analogix/anx6345: switch to struct drm_edid 2024-05-13 19:10:52 +02:00
analogix-i2c-dptx.c
analogix-i2c-dptx.h
analogix-i2c-txcommon.h
analogix_dp_core.c drm/bridge: analogix: remove unused struct 'bridge_init' 2024-07-19 00:42:39 +03:00
analogix_dp_core.h drm/bridge: analogix_dp: simplify and correct PLL lock checks 2024-06-27 11:52:16 +02:00
analogix_dp_reg.c drm/bridge: analogix_dp: handle AUX transfer timeouts 2024-06-27 11:52:19 +02:00
analogix_dp_reg.h drm/bridge: analogix_dp: handle AUX transfer timeouts 2024-06-27 11:52:19 +02:00
anx7625.c drm: bridge: anx7625: Use of_property_read_variable_u8_array() 2024-08-19 15:27:43 +02:00
anx7625.h drm/bridge: anx7625: use struct drm_edid more 2024-05-13 19:10:55 +02:00