linux/drivers/gpu/drm/sti
Liao Yuanhong 7a9b19cca0 drm/sti: Remove redundant ternary operators
For ternary operators in the form of "a ? true : false", if 'a' itself
returns a boolean result, the ternary operator can be omitted. Remove
redundant ternary operators to clean up the code.

Signed-off-by: Liao Yuanhong <liaoyuanhong@vivo.com>
Acked-by: Raphaël Gallais-Pou <rgallaispou@gmail.com>
Link: https://lore.kernel.org/r/20250904112738.350652-1-liaoyuanhong@vivo.com
Signed-off-by: Raphael Gallais-Pou <raphael.gallais-pou@foss.st.com>
History 2025-09-05 13:17:21 +02:00
..
Kconfig drm/sti: Run DRM default client setup 2024-09-26 09:31:27 +02:00
Makefile drm/sti: remove duplicate object names 2025-04-03 18:24:24 +02:00
NOTES drm: sti: add bindings for DRM driver 2014-07-30 18:11:53 +02:00
sti_awg_utils.c drm/sti: drop use of drmP.h 2019-06-06 17:11:26 +02:00
sti_awg_utils.h drm/sti: drop use of drmP.h 2019-06-06 17:11:26 +02:00
sti_compositor.c drm/sti: move to devm_platform_ioremap_resource() usage 2025-03-10 16:25:26 -04:00
sti_compositor.h drm/sti: remove use of drm_debugfs functions as return values 2020-03-18 16:24:08 +01:00
sti_crtc.c drm: Remove unnecessary include statements of drm_plane_helper.h 2022-07-26 18:42:04 +02:00
sti_crtc.h drm/sti: Convert to CRTC VBLANK callbacks 2020-02-13 13:10:09 +01:00
sti_cursor.c drm/sti: avoid potential dereference of error pointers 2024-09-23 21:40:52 +02:00
sti_cursor.h drm/sti: drop use of drmP.h 2019-06-06 17:11:26 +02:00
sti_drv.c Merge remote-tracking branch 'drm/drm-next' into drm-misc-next 2024-12-09 16:35:21 +01:00
sti_drv.h drm/sti: drop use of drmP.h 2019-06-06 17:11:26 +02:00
sti_dvo.c drm/sti: dvo: convert to devm_drm_bridge_alloc() API 2025-05-21 13:40:09 +02:00
sti_gdp.c drm/sti: avoid potential dereference of error pointers in sti_gdp_atomic_check 2024-09-23 21:40:41 +02:00
sti_gdp.h drm/sti: drop use of drmP.h 2019-06-06 17:11:26 +02:00
sti_hda.c drm/sti: hda: convert to devm_drm_bridge_alloc() API 2025-07-09 11:24:45 +02:00
sti_hdmi.c drm/sti: hdmi: convert to devm_drm_bridge_alloc() API 2025-07-09 11:24:45 +02:00
sti_hdmi.h drm/sti: hdmi: convert to devm_drm_bridge_alloc() API 2025-07-09 11:24:45 +02:00
sti_hdmi_tx3g4c28phy.c drm/sti/sti_hdmi_tx3g4c28phy: Provide function names for kernel-doc headers 2021-06-03 13:29:11 +02:00
sti_hdmi_tx3g4c28phy.h gpu: drm: sti: Adopt SPDX identifiers 2017-12-06 15:51:23 +01:00
sti_hqvdp.c drm/sti: Remove redundant ternary operators 2025-09-05 13:17:21 +02:00
sti_hqvdp_lut.h gpu: drm: sti: Adopt SPDX identifiers 2017-12-06 15:51:23 +01:00
sti_mixer.c drm/sti: Add __iomem for mixer_dbg_mxn's parameter 2024-11-26 14:02:25 +01:00
sti_mixer.h drm/sti: remove use of drm_debugfs functions as return values 2020-03-18 16:24:08 +01:00
sti_plane.c drm/gem: rename GEM CMA helpers to GEM DMA helpers 2022-08-03 18:31:49 +02:00
sti_plane.h drm: Remove unnecessary include statements of drm_plane_helper.h 2022-07-26 18:42:04 +02:00
sti_tvout.c drm/sti: move to devm_platform_ioremap_resource() usage 2025-03-10 16:25:26 -04:00
sti_vid.c drm/sti: remove use of drm_debugfs functions as return values 2020-03-18 16:24:08 +01:00
sti_vid.h drm/sti: remove use of drm_debugfs functions as return values 2020-03-18 16:24:08 +01:00
sti_vtg.c drm/sti: move to devm_platform_ioremap_resource() usage 2025-03-10 16:25:26 -04:00
sti_vtg.h drm/sti: drop use of drmP.h 2019-06-06 17:11:26 +02:00