diff options
author | Chen Ni <nichen@iscas.ac.cn> | 2024-07-05 12:28:00 +0300 |
---|---|---|
committer | Lee Jones <lee@kernel.org> | 2024-08-01 15:40:14 +0300 |
commit | fea88a13a5d14b9f56fa338b47f2044806b3e64d (patch) | |
tree | 3b2cc81667439117dfde150a0637b4967b3dfb59 /rust/helpers/helpers.c | |
parent | 8400291e289ee6b2bf9779ff1c83a291501f017b (diff) | |
download | linux-fea88a13a5d14b9f56fa338b47f2044806b3e64d.tar.xz |
backlight: l4f00242t03: Add check for spi_setup
Add check for the return value of spi_setup() and return the error
if it fails in order to catch the error.
Signed-off-by: Chen Ni <nichen@iscas.ac.cn>
Reviewed-by: Daniel Thompson <daniel.thompson@linaro.org>
Link: https://lore.kernel.org/r/20240705092800.3221159-1-nichen@iscas.ac.cn
Signed-off-by: Lee Jones <lee@kernel.org>
Diffstat (limited to 'rust/helpers/helpers.c')
0 files changed, 0 insertions, 0 deletions