diff options
| author | Dan Carpenter <[email protected]> | 2016-11-30 19:22:54 +0000 |
|---|---|---|
| committer | Rafael J. Wysocki <[email protected]> | 2016-11-30 22:16:31 +0000 |
| commit | 501634759d55a5b56967de6d9465acf02bbc3565 (patch) | |
| tree | c0bfc2611d8d8658a115592ba9ba1df26c294b47 /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c | |
| parent | Linux 4.9-rc7 (diff) | |
| download | kernel-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_object.c')
0 files changed, 0 insertions, 0 deletions
