]> git.baikalelectronics.ru Git - kernel.git/commit
drm/exynos: 'win' is always unsigned
authorTobias Jakobi <tjakobi@math.uni-bielefeld.de>
Wed, 6 May 2015 12:10:22 +0000 (14:10 +0200)
committerInki Dae <daeinki@gmail.com>
Tue, 19 May 2015 13:50:54 +0000 (22:50 +0900)
commit5fe0ed5148bd8c0bbc02eb477fa760527532ed36
treee03e69779fdf3bc893d08485cc6126ca55399b67
parent8c59a401863189c8eebaaa5976ffe7351a04d3ed
drm/exynos: 'win' is always unsigned

The index for the hardware layer is always >=0. Previous
code that also used -1 as special index is now gone.

Also apply this to 'ch_enabled' (decon/fimd), since the
variable is on the same line (and is again always unsigned).

Signed-off-by: Tobias Jakobi <tjakobi@math.uni-bielefeld.de>
Reviewed-by: Gustavo Padovan <gustavo.padovan@collabora.co.uk>
Signed-off-by: Inki Dae <inki.dae@samsung.com>
drivers/gpu/drm/exynos/exynos7_drm_decon.c
drivers/gpu/drm/exynos/exynos_drm_fimd.c
drivers/gpu/drm/exynos/exynos_mixer.c