diff options
| author | Dinghao Liu <[email protected]> | 2021-03-01 12:50:57 +0000 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2021-03-10 08:21:02 +0000 |
| commit | f8096ff38d5f62d8a2c473e1bec0163a1b2b86d8 (patch) | |
| tree | 1c0b9215225f6f4508496090a32b8cef821f446a /drivers/fpga/xilinx-pr-decoupler.c | |
| parent | drivers: habanalabs: remove unused dentry pointer for debugfs files (diff) | |
| download | kernel-f8096ff38d5f62d8a2c473e1bec0163a1b2b86d8.tar.gz kernel-f8096ff38d5f62d8a2c473e1bec0163a1b2b86d8.zip | |
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]>
Diffstat (limited to 'drivers/fpga/xilinx-pr-decoupler.c')
0 files changed, 0 insertions, 0 deletions
