staging/fbtft: Use fb_ops helpers for deferred I/O
authorThomas Zimmermann <tzimmermann@suse.de>
Mon, 28 Aug 2023 13:14:24 +0000 (15:14 +0200)
committerThomas Zimmermann <tzimmermann@suse.de>
Tue, 5 Sep 2023 12:14:04 +0000 (14:14 +0200)
commitc3ba2ada133de52a713f6702afcd1de7443156ae
treec0143b42c19bfeaa319c729dc021efaede872631
parentb1adff68e384eed58c2fee7f6316aa84274caad4
staging/fbtft: Use fb_ops helpers for deferred I/O

Generate callback functions for struct fb_ops with the fbdev macro
FB_GEN_DEFAULT_DEFERRED_SYSMEM_OPS(). Initialize struct fb_ops to
the generated functions with an fbdev initializer macro.

Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Acked-by: Javier Martinez Canillas <javierm@redhat.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20230828132131.29295-9-tzimmermann@suse.de
drivers/staging/fbtft/Kconfig
drivers/staging/fbtft/fbtft-core.c