aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c
diff options
context:
space:
mode:
authorDan Carpenter <[email protected]>2016-11-30 19:22:54 +0000
committerRafael J. Wysocki <[email protected]>2016-11-30 22:16:31 +0000
commit501634759d55a5b56967de6d9465acf02bbc3565 (patch)
treec0bfc2611d8d8658a115592ba9ba1df26c294b47 /drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c
parentLinux 4.9-rc7 (diff)
downloadkernel-501634759d55a5b56967de6d9465acf02bbc3565.tar.gz
kernel-501634759d55a5b56967de6d9465acf02bbc3565.zip
ACPI / CPPC: set an error code on probe error path
We should return -EINVAL (instead of 0) if get_cpu_device() fails. Fixes: 158c998ea44b (ACPI / CPPC: add sysfs support to compute delivered performance) Signed-off-by: Dan Carpenter <[email protected]> Signed-off-by: Rafael J. Wysocki <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c')
0 files changed, 0 insertions, 0 deletions