diff options
author | 2017-02-17 11:13:30 +0800 | |
---|---|---|
committer | 2017-03-07 22:15:15 +0100 | |
commit | ea411fd2c8d5704fc247be106026d436d27c900f (patch) | |
tree | 9a14fd007a6d87af7ab5a7c75bcf4fa33a67a045 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | drm/sun4i: Save newly created layer in layers array in sun4i_layers_init (diff) | |
download | linux-dev-ea411fd2c8d5704fc247be106026d436d27c900f.tar.xz linux-dev-ea411fd2c8d5704fc247be106026d436d27c900f.zip |
drm/sun4i: Make sun4i_crtc_init return ERR_PTR style error codes
sun4i_crtc_init can fail for a number of reasons. Instead of returning
a NULL pointer when it fails, pass back the encountered error using
ERR_PTR.
Signed-off-by: Chen-Yu Tsai <wens@csie.org>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions