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

2023-08-29 Thread Javier Martinez Canillas
Javier Martinez Canillas writes: > Geert Uytterhoeven 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

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

2023-08-29 Thread Javier Martinez Canillas
Geert Uytterhoeven 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 > --- Reviewed-by: Javier

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

2023-08-24 Thread Geert Uytterhoeven
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 --- v2: - New. --- drivers/gpu/drm/solomon/ssd130x.h | 4 ++-- 1