summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_test.c
diff options
context:
space:
mode:
authorAzael Avalos <coproscefalo@gmail.com>2016-08-29 09:37:35 -0600
committerDarren Hart <dvhart@linux.intel.com>2016-08-31 17:33:32 -0700
commit513ee146f69c48db362189b6423e6c4ede4b3aad (patch)
tree81ef4e3305d20a590ccc898a79936cc202f8c66c /drivers/gpu/drm/amd/amdgpu/amdgpu_test.c
parent78429e55e4057bdd0fbc6f969a669336f7be249e (diff)
platform/x86: toshiba_acpi: Change error checking logic from TCI functions
Currently the success/error checking logic is intermixed, making the code a bit cumbersome to understand. This patch changes the affected functions to first check for errors and take appropriate actions, then check for the supported features. This patch also separates the error check from the acpi_status and the tci_raw function call error check, as those two are completely unrelated and were nested in if/else statements. Signed-off-by: Azael Avalos <coproscefalo@gmail.com> Signed-off-by: Darren Hart <dvhart@linux.intel.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_test.c')
0 files changed, 0 insertions, 0 deletions