diff options
| author | 2013-12-16 14:13:25 +0800 | |
|---|---|---|
| committer | 2013-12-16 11:04:43 +0100 | |
| commit | f3c5fe979117908fb642ed130ae2cd78cb005931 (patch) | |
| tree | 849b93a1b7bbee48d94a632dc0df3577f3fd7305 /drivers/gpu/drm/i915/intel_ringbuffer.c | |
| parent | drm/i915: parse backlight modulation frequency from the BIOS VBT (diff) | |
| download | linux-dev-f3c5fe979117908fb642ed130ae2cd78cb005931.tar.xz linux-dev-f3c5fe979117908fb642ed130ae2cd78cb005931.zip | |
drm/i915: fix return value check of debugfs_create_file()
In case of error, the function debugfs_create_file() returns NULL
pointer not ERR_PTR() if debugfs is enabled. The IS_ERR() test in
the return value check should be replaced with NULL test.
Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'drivers/gpu/drm/i915/intel_ringbuffer.c')
0 files changed, 0 insertions, 0 deletions
