Re: [PATCH v2 3/8] drm/ssd130x: Use bool for ssd130x_deviceinfo flags

From: Javier Martinez Canillas
Date: Tue Aug 29 2023 - 04:46:43 EST


Geert Uytterhoeven <geert@xxxxxxxxxxxxxx> 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@xxxxxxxxxxxxxx>
> ---

Reviewed-by: Javier Martinez Canillas <javierm@xxxxxxxxxx>

--
Best regards,

Javier Martinez Canillas
Core Platforms
Red Hat