linux/drivers/gpu/drm
Daniel Vetter baf698b049 drm: Simplify return value handling in drm_crtc.c
While looking through drm_crtc.c to double-check make locking changes
I've noticed that there's a few other places that would now benefit
from simplified return value handling.

So let's flatten the control flow and replace and always 0 ret with 0
where possible.

Signed-off-by: Daniel Vetter <daniel.vetter@intel.com>
Reviewed-by: Sean Paul <seanpaul@chromium.org>
Signed-off-by: Dave Airlie <airlied@redhat.com>
2014-11-15 09:40:33 +10:00
..
armada
ast
bochs
bridge
cirrus
exynos drm/panel: Changes for v3.19-rc1 2014-11-15 09:36:13 +10:00
gma500 drm: Miscellaneous fixes for v3.19-rc1 2014-11-15 09:37:20 +10:00
i2c
i810
i915 drm: Miscellaneous fixes for v3.19-rc1 2014-11-15 09:37:20 +10:00
mga
mgag200
msm drm: flip-work: change drm_flip_work_init prototype 2014-11-15 09:29:14 +10:00
nouveau
omapdrm drm: flip-work: change drm_flip_work_init prototype 2014-11-15 09:29:14 +10:00
panel drm/panel: Add Sharp LQ101R1SX01 support 2014-11-13 13:56:19 +01:00
qxl
r128
radeon drm/radeon/si/ci: make u8 static arrays constant 2014-11-12 11:56:46 -05:00
rcar-du
savage
shmobile
sis
sti
tdfx
tegra drm/tegra: Changes for v3.19-rc1 2014-11-15 09:38:55 +10:00
tilcdc drm: flip-work: change drm_flip_work_init prototype 2014-11-15 09:29:14 +10:00
ttm
udl
via
vmwgfx
ati_pcigart.c
drm_agpsupport.c
drm_atomic_helper.c drm/atomic: rip out unnecessary locking checks 2014-11-15 09:30:24 +10:00
drm_atomic.c
drm_auth.c
drm_bufs.c
drm_cache.c
drm_context.c
drm_crtc_helper.c
drm_crtc_internal.h
drm_crtc.c drm: Simplify return value handling in drm_crtc.c 2014-11-15 09:40:33 +10:00
drm_debugfs.c
drm_dma.c
drm_dp_helper.c
drm_dp_mst_topology.c drm/dp/mst: Handle invalid link bandwidth from DPCD gracefully 2014-11-15 09:31:34 +10:00
drm_drv.c
drm_edid_load.c
drm_edid.c
drm_encoder_slave.c
drm_fb_cma_helper.c
drm_fb_helper.c
drm_flip_work.c drm: flip-work: change drm_flip_work_init prototype 2014-11-15 09:29:14 +10:00
drm_fops.c
drm_gem_cma_helper.c
drm_gem.c drm/gem: Fix typo in kerneldoc 2014-11-13 10:43:49 +01:00
drm_global.c
drm_hashtab.c
drm_info.c
drm_internal.h
drm_ioc32.c
drm_ioctl.c
drm_irq.c
drm_legacy.h
drm_lock.c
drm_memory.c
drm_mipi_dsi.c drm/dsi: Do not require .owner field to be set 2014-11-13 13:56:17 +01:00
drm_mm.c
drm_modes.c
drm_modeset_lock.c
drm_of.c
drm_panel.c
drm_pci.c
drm_plane_helper.c
drm_platform.c
drm_prime.c drm: Miscellaneous fixes for v3.19-rc1 2014-11-15 09:37:20 +10:00
drm_probe_helper.c
drm_rect.c
drm_scatter.c
drm_sysfs.c
drm_trace_points.c
drm_trace.h
drm_vm.c
drm_vma_manager.c
Kconfig
Makefile