summaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorJulia Lawall <Julia.Lawall@inria.fr>2020-01-01 18:49:43 +0100
committerBartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>2020-01-15 17:31:49 +0100
commit091be7245a0393c1e6785f4b82cc88cc1445285b (patch)
tree235b46fcb879dd6cc5d94589bfa80a631973c310 /net
parentvideo: sa1100fb: constify copied structure (diff)
downloadlinux-091be7245a0393c1e6785f4b82cc88cc1445285b.tar.xz
linux-091be7245a0393c1e6785f4b82cc88cc1445285b.zip
fbdev: s1d13xxxfb: use resource_size
Use resource_size rather than a verbose computation on the end and start fields. The semantic patch that makes these changes 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 <Julia.Lawall@inria.fr> Cc: Kristoffer Ericson <kristoffer.ericson@gmail.com> [b.zolnierkie: ported patch to drm-misc-next] Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com> Link: https://patchwork.freedesktop.org/patch/msgid/1577900990-8588-4-git-send-email-Julia.Lawall@inria.fr
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions