summaryrefslogtreecommitdiff
path: root/drivers/video/fbdev/pxa168fb.c
diff options
context:
space:
mode:
authorThomas Zimmermann <tzimmermann@suse.de>2023-07-15 20:51:46 +0200
committerThomas Zimmermann <tzimmermann@suse.de>2023-07-24 16:50:38 +0200
commit45733d285fd6bdcc5b72b9b6aa600b0e4bf79c43 (patch)
tree5b4b615005d32838dd9cb845e2302a53c0a93571 /drivers/video/fbdev/pxa168fb.c
parenta0331a4bde9dea3dffe37b6348e6509708e42e33 (diff)
downloadlwn-45733d285fd6bdcc5b72b9b6aa600b0e4bf79c43.tar.gz
lwn-45733d285fd6bdcc5b72b9b6aa600b0e4bf79c43.zip
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/pxa168fb.c')
0 files changed, 0 insertions, 0 deletions