diff options
author | Kirill Yatsenko <[email protected]> | 2023-05-11 22:26:32 +0200 |
---|---|---|
committer | Guenter Roeck <[email protected]> | 2023-06-08 06:41:18 -0700 |
commit | 014714b8a62107d22bd2a089801bbfb4bb6412ae (patch) | |
tree | c74a8042d713a5e43791c96a9a4b3cefd12ae05b /drivers/fpga/fpga-bridge.c | |
parent | 0cb01ec31529096b6460290963bf78c9146d83b7 (diff) |
hwmon: (aht10) Refactor aht10_read_values function
Exit from the function immediately if the poll time hasn't yet expired.
Therefore the code after the check can be moved one tab to the left which
improves readability.
Signed-off-by: Kirill Yatsenko <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
[groeck: Dropped else after return]
Signed-off-by: Guenter Roeck <[email protected]>
Diffstat (limited to 'drivers/fpga/fpga-bridge.c')
0 files changed, 0 insertions, 0 deletions