diff options
author | Joaquín Ignacio Aramendía <[email protected]> | 2023-06-17 15:11:43 -0300 |
---|---|---|
committer | Guenter Roeck <[email protected]> | 2023-06-18 08:54:31 -0700 |
commit | 37f665ffa886ce49d1baaca1c3501ce93713b77e (patch) | |
tree | c72d320d71dcd1001d08b6808c6f4f4cf22f4bdf /drivers/fpga/fpga-bridge.c | |
parent | d7696214b06dae06b5c632142b1c80cf85219c74 (diff) |
hwmon: (oxp-sensors) Simplify logic of error return
Take return logic on error out of if-else, eliminating
duplicated code in tt_togle_store() function.
Signed-off-by: Joaquín Ignacio Aramendía <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Guenter Roeck <[email protected]>
Diffstat (limited to 'drivers/fpga/fpga-bridge.c')
0 files changed, 0 insertions, 0 deletions