diff options
author | Enric Balletbo i Serra <[email protected]> | 2020-04-16 23:06:54 +0200 |
---|---|---|
committer | Sam Ravnborg <[email protected]> | 2020-04-25 16:48:55 +0200 |
commit | 30be3031087139061de4421bf52015931eaab569 (patch) | |
tree | 683b718245f9e247a9ec7079d9ea32016ccb4c7e /tools/perf/scripts/python/event_analyzing_sample.py | |
parent | 4606ed7ede0c1f8616c7d30cbf72230314888653 (diff) |
drm/bridge: panel: Return always an error pointer in drm_panel_bridge_add()
Since commit 89958b7cd955 ("drm/bridge: panel: Infer connector type from
panel by default"), drm_panel_bridge_add() and their variants can return
NULL and an error pointer. This is fine but none of the actual users of
the API are checking for the NULL value. Instead of change all the
users, seems reasonable to return an error pointer instead. So change
the returned value for those functions when the connector type is unknown.
Suggested-by: Laurent Pinchart <[email protected]>
Signed-off-by: Enric Balletbo i Serra <[email protected]>
Reviewed-by: Laurent Pinchart <[email protected]>
Signed-off-by: Sam Ravnborg <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions