[PATCH] backlight: ili922x: add an error code check in ili922x_write

Daniel Thompson daniel.thompson at linaro.org
Thu Dec 7 14:28:44 UTC 2023


On Thu, Nov 30, 2023 at 01:11:56PM +0800, Su Hui wrote:
> 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 at nfschina.com>

Reviewed-by: Daniel Thompson <daniel.thompson at linaro.org>


Daniel.


More information about the dri-devel mailing list