aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_reset.c
diff options
context:
space:
mode:
authorRafael J. Wysocki <[email protected]>2024-11-10 14:06:01 +0100
committerRafael J. Wysocki <[email protected]>2024-11-14 12:19:10 +0100
commit1c426fd09ca85fb77f120f7933e39eb9df99a39a (patch)
tree2ccc275dea73ed24dcee15e0484ec7cb42778abf /drivers/gpu/drm/amd/amdgpu/amdgpu_reset.c
parent9782dd101f343d7f1cad824dc26ad355341e1f3b (diff)
thermal: testing: Use DEFINE_FREE() and __free() to simplify code
Use DEFINE_FREE() to define a __free function for dropping thermal zone template reference counters and use it along with __free() to simplify code in some places. No intentional functional impact. Signed-off-by: Rafael J. Wysocki <[email protected]> Link: https://patch.msgid.link/[email protected] [ rjw: Add variable initialization to address compiler warning ] Signed-off-by: Rafael J. Wysocki <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_reset.c')
0 files changed, 0 insertions, 0 deletions