diff options
author | 2023-01-11 15:45:28 +0800 | |
---|---|---|
committer | 2023-01-31 14:40:55 +0100 | |
commit | d5a7d809907c5df9e79625cd5f7d5a43b70dd913 (patch) | |
tree | 7a369815c67720d2d99cb7c40bdf8b6e1875e729 /scripts/generate_rust_analyzer.py | |
parent | soc: mediatek: mtk-svs: delete superfluous platform data entries (diff) | |
download | linux-rng-d5a7d809907c5df9e79625cd5f7d5a43b70dd913.tar.xz linux-rng-d5a7d809907c5df9e79625cd5f7d5a43b70dd913.zip |
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 <roger.lu@mediatek.com>
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Link: https://lore.kernel.org/r/20230111074528.29354-15-roger.lu@mediatek.com
Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions