fbdev: ssd1307fb: Use bool for ssd1307fb_deviceinfo flags
authorGeert Uytterhoeven <geert@linux-m68k.org>
Thu, 31 Aug 2023 12:05:54 +0000 (14:05 +0200)
committerHelge Deller <deller@gmx.de>
Thu, 31 Aug 2023 22:29:34 +0000 (00:29 +0200)
commit33d02972d8be284faee25d8b9a59017c07cde4db
treedf2a690f3dc578fb8dcc5064ee90d0ac3c83edde
parenta9415b03f0213fdf8194e128980445a0d692cd5d
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>
drivers/video/fbdev/ssd1307fb.c