drm/bridge: tc358767: fix mode_valid's return type
authorLuc Van Oostenryck <luc.vanoostenryck@gmail.com>
Tue, 24 Apr 2018 13:14:52 +0000 (15:14 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 25 Apr 2018 07:37:59 +0000 (09:37 +0200)
commit114b3ac8702c3c01aac3b0a6b30069ae2c4d53d5
tree95a2a7c5432701e71aec600747d9ad603905cffe
parentc24c88c4df2eb89f71af87ee00e75499a369538d
drm/bridge: tc358767: fix mode_valid's return type

The method struct drm_connector_helper_funcs::mode_valid is defined
as returning an 'enum drm_mode_status' but the driver implementation
for this method uses an 'int' for it.

Fix this by using 'enum drm_mode_status' in the driver too.

Signed-off-by: Luc Van Oostenryck <luc.vanoostenryck@gmail.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: https://patchwork.freedesktop.org/patch/msgid/20180424131453.1961-1-luc.vanoostenryck@gmail.com
drivers/gpu/drm/bridge/tc358767.c