Commit 23dad7b9 authored by Thomas Zimmermann's avatar Thomas Zimmermann

fbdev: Remove trailing whitespaces

Fix coding style. No functional changes.
Signed-off-by: default avatarThomas Zimmermann <tzimmermann@suse.de>
Reviewed-by: default avatarJavier Martinez Canillas <javierm@redhat.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20231127131655.4020-29-tzimmermann@suse.de
parent 27ad64ea
...@@ -48,7 +48,7 @@ int sbusfb_mmap_helper(struct sbus_mmap_map *map, ...@@ -48,7 +48,7 @@ int sbusfb_mmap_helper(struct sbus_mmap_map *map,
unsigned long map_offset = 0; unsigned long map_offset = 0;
unsigned long off; unsigned long off;
int i; int i;
if (!(vma->vm_flags & (VM_SHARED | VM_MAYSHARE))) if (!(vma->vm_flags & (VM_SHARED | VM_MAYSHARE)))
return -EINVAL; return -EINVAL;
...@@ -72,7 +72,7 @@ int sbusfb_mmap_helper(struct sbus_mmap_map *map, ...@@ -72,7 +72,7 @@ int sbusfb_mmap_helper(struct sbus_mmap_map *map,
#define POFF_MASK (PAGE_MASK|0x1UL) #define POFF_MASK (PAGE_MASK|0x1UL)
#else #else
#define POFF_MASK (PAGE_MASK) #define POFF_MASK (PAGE_MASK)
#endif #endif
map_offset = (physbase + map[i].poff) & POFF_MASK; map_offset = (physbase + map[i].poff) & POFF_MASK;
break; break;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment