diff options
| author | Roger Lu <[email protected]> | 2023-01-11 15:45:28 +0800 |
|---|---|---|
| committer | Matthias Brugger <[email protected]> | 2023-01-31 14:40:55 +0100 |
| commit | d5a7d809907c5df9e79625cd5f7d5a43b70dd913 (patch) | |
| tree | 7a369815c67720d2d99cb7c40bdf8b6e1875e729 /drivers/fpga/tests/fpga-mgr-test.c | |
| parent | 01c9a8bd23ca43c708043c712fb4579848ae8dae (diff) | |
soc: mtk-svs: mt8183: refactor o_slope calculation
The o_slope value is dependent of the o_slope_sign, refactor code to get
rid of unnecessary if constructs.
Signed-off-by: Roger Lu <[email protected]>
Reviewed-by: AngeloGioacchino Del Regno <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Matthias Brugger <[email protected]>
Diffstat (limited to 'drivers/fpga/tests/fpga-mgr-test.c')
0 files changed, 0 insertions, 0 deletions