fbdev: ssd1307fb: Use bool for ssd1307fb_deviceinfo flags

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 <geert@linux-m68k.org>
Acked-by: Javier Martinez Canillas <javierm@redhat.com>
Signed-off-by: Helge Deller <deller@gmx.de>
This commit is contained in:
Geert Uytterhoeven 2023-08-31 14:05:54 +02:00 коммит произвёл Helge Deller
Родитель a9415b03f0
Коммит 33d02972d8
1 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -52,8 +52,8 @@ struct ssd1307fb_deviceinfo {
u32 default_vcomh;
u32 default_dclk_div;
u32 default_dclk_frq;
int need_pwm;
int need_chargepump;
bool need_pwm;
bool need_chargepump;
};
struct ssd1307fb_par {