aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c
diff options
context:
space:
mode:
authorGeert Uytterhoeven <[email protected]>2023-08-24 15:08:41 +0000
committerJavier Martinez Canillas <[email protected]>2023-09-10 07:05:47 +0000
commit15d30b46573d75f5cb58cfacded8ebab9c76a2b0 (patch)
tree3cad5a328e77b1ba6755d2215332773a5441d745 /drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c
parentdrm/ssd130x: Fix screen clearing (diff)
downloadkernel-15d30b46573d75f5cb58cfacded8ebab9c76a2b0.tar.gz
kernel-15d30b46573d75f5cb58cfacded8ebab9c76a2b0.zip
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 <[email protected]> Reviewed-by: Javier Martinez Canillas <[email protected]> Tested-by: Javier Martinez Canillas <[email protected]> Signed-off-by: Javier Martinez Canillas <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/285005ff361969eff001386c5f97990f0e703838.1692888745.git.geert@linux-m68k.org
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c')
0 files changed, 0 insertions, 0 deletions