aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c
diff options
context:
space:
mode:
authorJulia Lawall <[email protected]>2020-01-01 18:49:47 +0100
committerBartlomiej Zolnierkiewicz <[email protected]>2020-01-15 17:31:50 +0100
commit44a391081c9b186cb1b3846c7f1bb5f75afa3253 (patch)
tree62c72dc0d00837dc14ac58c7120443d08a27955c /drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c
parent091be7245a0393c1e6785f4b82cc88cc1445285b (diff)
fbdev: cg14fb: use resource_size
Use resource_size rather than a verbose computation on the end and start fields. The semantic patch that makes this change is as follows: (http://coccinelle.lip6.fr/) <smpl> @@ struct resource ptr; @@ - (ptr.end - ptr.start + 1) + resource_size(&ptr) </smpl> Signed-off-by: Julia Lawall <[email protected]> [b.zolnierkie: minor patch summary fixup] Signed-off-by: Bartlomiej Zolnierkiewicz <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c')
0 files changed, 0 insertions, 0 deletions