]> git.baikalelectronics.ru Git - kernel.git/commit
drm: Constify drm_color_lut_check()
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Tue, 29 Jan 2019 17:06:09 +0000 (19:06 +0200)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Tue, 29 Jan 2019 21:26:12 +0000 (23:26 +0200)
commit3f97e5874cc1ad418930c34c87b007a01874b935
tree5dae4488d6b38e3ea3b87c029ed6bc0fc4fc51ab
parentc43ec408196e42c40ff0f190df612dcf4cbdc952
drm: Constify drm_color_lut_check()

drm_color_lut_check() doens't modify the passed in blob so
let's make it const.

Also s/uint32_t/u32/ while at it.

v2: Reduce line wraps (Sam)

Cc: Matt Roper <matthew.d.roper@intel.com>
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190129170609.5718-1-ville.syrjala@linux.intel.com
Reviewed-by: Sam Ravnborg <sam@ravnborg.org>
Acked-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/drm_color_mgmt.c
include/drm/drm_color_mgmt.h