diff options
author | Geert Uytterhoeven <geert@linux-m68k.org> | 2023-08-24 18:08:41 +0300 |
---|---|---|
committer | Javier Martinez Canillas <javierm@redhat.com> | 2023-09-10 10:05:47 +0300 |
commit | 15d30b46573d75f5cb58cfacded8ebab9c76a2b0 (patch) | |
tree | 3cad5a328e77b1ba6755d2215332773a5441d745 /drivers/gpu/drm/nouveau/nvkm/engine/disp/tu102.c | |
parent | 4dbce3d6fea59e1df1d1a35aacea0c186f72107a (diff) | |
download | linux-15d30b46573d75f5cb58cfacded8ebab9c76a2b0.tar.xz |
drm/ssd130x: Use bool for ssd130x_deviceinfo flags
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@linux-m68k.org>
Reviewed-by: Javier Martinez Canillas <javierm@redhat.com>
Tested-by: Javier Martinez Canillas <javierm@redhat.com>
Signed-off-by: Javier Martinez Canillas <javierm@redhat.com>
Link: https://patchwork.freedesktop.org/patch/msgid/285005ff361969eff001386c5f97990f0e703838.1692888745.git.geert@linux-m68k.org
Diffstat (limited to 'drivers/gpu/drm/nouveau/nvkm/engine/disp/tu102.c')
0 files changed, 0 insertions, 0 deletions