]> git.dujemihanovic.xyz Git - u-boot.git/commit
remoteproc: uclass: Clean up a return
authorDan Carpenter <dan.carpenter@linaro.org>
Wed, 26 Jul 2023 07:00:33 +0000 (10:00 +0300)
committerTom Rini <trini@konsulko.com>
Tue, 8 Aug 2023 21:05:43 +0000 (17:05 -0400)
commitf9a12cc92a569698cae0630d795bac14f4a875fc
treed6f0ab055bd37fa707a3936ee35126c7fc033b48
parentd7a92e9cb22497562b1632aebc0d625b17bbfd51
remoteproc: uclass: Clean up a return

We know that "pa" is non-NULL so it's nicer to just return zero instead
of return !pa.  This has no effect on runtime behavior.

Signed-off-by: Dan Carpenter <dan.carpenter@linaro.org>
Reviewed-by: Simon Glass <sjg@chromium.org>
drivers/remoteproc/rproc-uclass.c