summaryrefslogtreecommitdiff
path: root/drivers/video/fbdev/sunxvr500.c
diff options
context:
space:
mode:
authorThomas Zimmermann <tzimmermann@suse.de>2023-07-15 21:51:46 +0300
committerThomas Zimmermann <tzimmermann@suse.de>2023-07-24 17:50:38 +0300
commit45733d285fd6bdcc5b72b9b6aa600b0e4bf79c43 (patch)
tree5b4b615005d32838dd9cb845e2302a53c0a93571 /drivers/video/fbdev/sunxvr500.c
parenta0331a4bde9dea3dffe37b6348e6509708e42e33 (diff)
downloadlinux-45733d285fd6bdcc5b72b9b6aa600b0e4bf79c43.tar.xz
fbdev: Remove FBINFO_DEFAULT from devm_kzalloc()'ed structs
The flag FBINFO_DEFAULT is 0 and has no effect, as struct fbinfo.flags has been allocated to zero by devm_kzalloc(). So do not set it. Flags should signal differences from the default values. After cleaning up all occurrences of FBINFO_DEFAULT, the token will be removed. v4: * clarify commit message (Geert, Dan) v2: * fix commit message (Miguel) Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de> Acked-by: Sam Ravnborg <sam@ravnborg.org> Cc: Helge Deller <deller@gmx.de> Link: https://patchwork.freedesktop.org/patch/msgid/20230715185343.7193-5-tzimmermann@suse.de
Diffstat (limited to 'drivers/video/fbdev/sunxvr500.c')
0 files changed, 0 insertions, 0 deletions