[PATCH v2 3/8] drm/ssd130x: Use bool for ssd130x_deviceinfo flags
Javier Martinez Canillas
javierm at redhat.com
Tue Aug 29 08:44:51 UTC 2023
Geert Uytterhoeven <geert at linux-m68k.org> writes:
> The .need_pwm and .need_chargepump fields in struct ssd130x_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>
> ---
Reviewed-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