Re: [PATCH] fbdev: ssd1307fb: Use bool for ssd1307fb_deviceinfo flags

2023-08-31 Thread Helge Deller
On 8/31/23 14:05, Geert Uytterhoeven wrote: 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 applied to fbdev git t

Re: [PATCH] fbdev: ssd1307fb: Use bool for ssd1307fb_deviceinfo flags

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

[PATCH] fbdev: ssd1307fb: Use bool for ssd1307fb_deviceinfo flags

2023-08-31 Thread Geert Uytterhoeven
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 --- drivers/video/fbdev/ssd1307fb.c | 4 ++-- 1 file changed, 2 inser