diff options
| author | 2023-11-30 13:11:56 +0800 | |
|---|---|---|
| committer | 2023-12-07 15:54:55 +0000 | |
| commit | 769ff5283f0d7edc819743f183d51af077411107 (patch) | |
| tree | ee5463a14f0620d3208919165fecea9feb81067b /scripts/basic | |
| parent | backlight: ili922x: Drop kernel-doc for local macros (diff) | |
backlight: ili922x: Add an error code check in ili922x_write()
Clang static analyzer complains that value stored to 'ret' is never read.
Return the error code when spi_sync() failed.
Signed-off-by: Su Hui <suhui@nfschina.com>
Reviewed-by: Daniel Thompson <daniel.thompson@linaro.org>
Link: https://lore.kernel.org/r/20231130051155.1235972-1-suhui@nfschina.com
Signed-off-by: Lee Jones <lee@kernel.org>
Diffstat (limited to 'scripts/basic')
0 files changed, 0 insertions, 0 deletions
