Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
drivers: misc: ad525x_dpot: Add missing check in dpot_read_spi
The use of dpot_read_r8d8() after checking dpot->uid is similar. However, we check the return value and return an error code only in one path, which is odd. Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Dinghao Liu <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
- Loading branch information