[PATCH] fbdev: ssd1307fb: Use bool for ssd1307fb_deviceinfo flags
Javier Martinez Canillas
javierm at redhat.com
Thu Aug 31 17:39:10 UTC 2023
Geert Uytterhoeven <geert at linux-m68k.org> writes:
> The .need_pwm and .need_chargepump fields in struct ssd1307fb_deviceinfo
> are flags that can have only two possible values: 0 and 1.
> Reduce kernel size by changing their types from int to bool.
>
> Signed-off-by: Geert Uytterhoeven <geert at linux-m68k.org>
> ---
Acked-by: Javier Martinez Canillas <javierm at redhat.com>
--
Best regards,
Javier Martinez Canillas
Core Platforms
Red Hat
More information about the dri-devel
mailing list