WSL2-Linux-Kernel/drivers/gpu/drm/bridge/synopsys
Cai Huoqing 9962601ca5
drm/bridge: dw-hdmi-cec: Make use of the helper function devm_add_action_or_reset()
The helper function devm_add_action_or_reset() will internally
call devm_add_action(), and if devm_add_action() fails then it will
execute the action mentioned and return the error code. So
use devm_add_action_or_reset() instead of devm_add_action()
to simplify the error handling, reduce the code.

Signed-off-by: Cai Huoqing <caihuoqing@baidu.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Robert Foss <robert.foss@linaro.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20210922125909.215-1-caihuoqing@baidu.com
2021-10-06 11:21:46 +02:00
..
Kconfig treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
dw-hdmi-ahb-audio.c Update rmk's email address in various drivers 2020-04-21 17:50:09 +01:00
dw-hdmi-audio.h drm/bridge: dw-hdmi-i2s: add .get_eld support 2019-08-14 15:03:36 +02:00
dw-hdmi-cec.c drm/bridge: dw-hdmi-cec: Make use of the helper function devm_add_action_or_reset() 2021-10-06 11:21:46 +02:00
dw-hdmi-cec.h drm/bridge: dw-hdmi: add cec driver 2017-08-07 16:18:53 +05:30
dw-hdmi-i2s-audio.c drm: bridge: dw-hdmi: Constify dw_hdmi_i2s_ops 2020-10-05 16:06:58 +02:00
dw-hdmi.c drm: bridge: dw-hdmi: Attach to next bridge if available 2021-07-28 16:33:13 +03:00
dw-hdmi.h drm/bridge: dw-hdmi: Add Dynamic Range and Mastering InfoFrame support 2019-10-10 12:50:00 +02:00
dw-mipi-dsi.c drm-misc-next for v5.15: 2021-07-30 14:52:00 +10:00