fbdev/vga16fb: Auto-generate module init/exit code
authorThomas Zimmermann <tzimmermann@suse.de>
Mon, 18 Jul 2022 07:23:14 +0000 (09:23 +0200)
committerThomas Zimmermann <tzimmermann@suse.de>
Tue, 19 Jul 2022 11:19:11 +0000 (13:19 +0200)
commit8a611e08257afb9ab5814d5c19239bf40e5030f4
tree9127c77413552198008b69e67b05c037f1894a21
parent0db5b61e0dc07cee121e5a04932ca7f5d0b62f6a
fbdev/vga16fb: Auto-generate module init/exit code

Move vgag16fb's option parsing into the driver's probe function and
generate the rest of the module's init/exit functions from macros.
Keep the options code, although there are no options defined.

v2:
* no options are supported, remove the code (Javier)

Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Reviewed-by: Javier Martinez Canillas <javierm@redhat.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20220718072322.8927-4-tzimmermann@suse.de
drivers/video/fbdev/vga16fb.c