[PATCH v2 3/8] drm/ssd130x: Use bool for ssd130x_deviceinfo flags
Javier Martinez Canillas
javierm at redhat.com
Tue Aug 29 21:16:25 UTC 2023
Javier Martinez Canillas <javierm at redhat.com> writes:
> 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>
>
Tested-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