diff options
| author | Artur Weber <[email protected]> | 2023-08-09 11:42:16 +0000 |
|---|---|---|
| committer | Lee Jones <[email protected]> | 2023-08-18 15:37:51 +0000 |
| commit | dfd122fe8591d513b5e51313601217b67ae98d13 (patch) | |
| tree | 35169717806e11144bb06839aec448744db68b2d /tools/perf/scripts/python/mem-phys-addr.py | |
| parent | backlight: gpio_backlight: Drop output GPIO direction check for initial power... (diff) | |
| download | kernel-dfd122fe8591d513b5e51313601217b67ae98d13.tar.gz kernel-dfd122fe8591d513b5e51313601217b67ae98d13.zip | |
backlight: lp855x: Drop ret variable in brightness change function
Fixes the following warning:
drivers/video/backlight/lp855x_bl.c:252:7: warning: variable 'ret' is used
uninitialized whenever 'if' condition is false [-Wsometimes-uninitialized]
Signed-off-by: Artur Weber <[email protected]>
Fixes: 5145531be5fb ("backlight: lp855x: Catch errors when changing brightness")
Reported-by: kernel test robot <[email protected]>
Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/
Reviewed-by: Daniel Thompson <[email protected]>
Reviewed-by: Nathan Chancellor <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Lee Jones <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/mem-phys-addr.py')
0 files changed, 0 insertions, 0 deletions
