drm: rcar-du: Convert rcar_du_encoders_init_one() return value to 0/<0
authorLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Tue, 26 May 2015 12:07:56 +0000 (15:07 +0300)
committerLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Tue, 16 Jun 2015 11:25:53 +0000 (14:25 +0300)
commit898a2f387d1c663772c630e8f78ef60f1639077e
tree905f444af548417afd20f05fdec45caf081f7973
parent64549cdf85a113270729aa123aa475cec7249a0f
drm: rcar-du: Convert rcar_du_encoders_init_one() return value to 0/<0

The function returns 1 on success, and either 0 or a negative error code
on failure. As the 0 and negative values don't need to be differentiated
by the caller, convert it to the usual scheme of returning 0 on success
and a negative error code on failure.

Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
drivers/gpu/drm/rcar-du/rcar_du_kms.c