Skip to content
Commit 9174cb75 authored by Josuah Demangeon's avatar Josuah Demangeon Committed by Mahesh Mahadevan
Browse files

drivers: video: gc2145: return 0 at the end of functions



After the error code is checked to be zero, it is possible to return 0
explicitly to help with readability. Also, when available, forward the
return code from the failing function instead of a locally chosen error
code like -EIO.

Signed-off-by: default avatarJosuah Demangeon <me@josuah.net>
parent 81f57258
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment