diff options
author | Inki Dae <inki.dae@samsung.com> | 2017-07-03 17:42:17 +0900 |
---|---|---|
committer | Archit Taneja <architt@codeaurora.org> | 2017-08-21 08:51:53 +0530 |
commit | 9928688492aea161eeeaad7af34f372794cb2f53 (patch) | |
tree | 7389a89d7aaf158fb9d4c0aca4c2877b60b5e759 /include/drm/drm_bridge.h | |
parent | 059e3c0b2fa30b6903de6b78f191028484385c3b (diff) |
drm/bridge: change return type of drm_bridge_add function
This patch changes return type of drm_bridge_add function.
This function never return negative value but returns only 0.
So it changes the return type of this function to void one.
Signed-off-by: Inki Dae <inki.dae@samsung.com>
Signed-off-by: Archit Taneja <architt@codeaurora.org>
Link: https://patchwork.freedesktop.org/patch/msgid/1499071350-25168-2-git-send-email-inki.dae@samsung.com
Diffstat (limited to 'include/drm/drm_bridge.h')
-rw-r--r-- | include/drm/drm_bridge.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/drm/drm_bridge.h b/include/drm/drm_bridge.h index 6522d4cbc9d9..682d01ba920c 100644 --- a/include/drm/drm_bridge.h +++ b/include/drm/drm_bridge.h @@ -245,7 +245,7 @@ struct drm_bridge { void *driver_private; }; -int drm_bridge_add(struct drm_bridge *bridge); +void drm_bridge_add(struct drm_bridge *bridge); void drm_bridge_remove(struct drm_bridge *bridge); struct drm_bridge *of_drm_find_bridge(struct device_node *np); int drm_bridge_attach(struct drm_encoder *encoder, struct drm_bridge *bridge, |