commit | 4cae5b84628d5df76247d494e51b89d07e28e6aa | [log] [tgz] |
---|---|---|
author | Sascha Hauer <s.hauer@pengutronix.de> | Wed Feb 01 11:38:23 2012 +0100 |
committer | Dave Airlie <airlied@redhat.com> | Fri Feb 03 09:51:47 2012 +0000 |
tree | e68bd5e5da920e4f1bae8d15c91332702c06d8d7 | |
parent | a1b7736dac5f2d5876e68c47a0fce3f423840070 [diff] |
drm: add proper return value for drm_mode_crtc_set_gamma_size drm_mode_crtc_set_gamma_size returns boolean true for success and false for failure. This is not very kernel conform, so change it to return 0 for success and a propert error code otherwise. Noone checks the return value, so no users have to be fixed. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de> Signed-off-by: Dave Airlie <airlied@redhat.com>